#Placeholder currency values Issue

1 messages · Page 1 of 1 (latest)

dim lintel
#

I have a menu setup that checks for placeholders value as the currency . So when a player has the right amount on ther placeholder currency it will allow purchase of the item

If a player has 999 or less in ther placeholder value it will allow them to buy the item.

How ever if a player has placeholder currency 1000 or over they will not be able to buy the item even tho have enough .

Any suggestions why this may be happening?

I'm using the '=>' function when I'm doing the check for correct placeholder value.

When using placeholders does it matter if use rounded or int values? . Or do we have to just use the normal placeholder?

quartz tulip
#

also it's >= not =>

#

probably cause of that

#

and also yes u better use the full interger value and not rounded ones

#

not that u can't use the rounded either but players with 999.6 for example would get rounded to 1000 and it would trigger the requirement

#

even tho their balance ain't 1000

dim lintel
#

Ah yes got that wrong way round in message .
In config it's correct.
Ok I been using the rounded placeholder Strange that it works up to 999 but not when u have 1000 and over

#

On the server players can only get whole number values given to them

#

So no chance for decimals

#

If player has 5000 currency value and only needs 50 it won't work but if I drop that 500 to 999 it works

Let me get a copy of the requirement

quartz tulip
dim lintel
#

Yea same it makes no sense that it work only up to 999

quartz tulip
fleet raft
#

which placeholder are you using?

quartz tulip
dim lintel
#

Yes this was def the case here , it was the placeholder rounded that was causing it to not work over 999

#

Switching it to raw value instead fixed the issue.