#negative points problem??

1 messages · Page 1 of 1 (latest)

rose lodge
#

How i can do a scoreboard not going on negative numbers???

swift vigil
#

if (score < 0) setScore(‘score’,player,0)

#

Implying that you have the setScore function

rose lodge
#

@swift vigil so it's if (Points<0)setscore

#

("Points",player,0

swift vigil
#

you could do that yes

#

but points has to be a declared variable

rose lodge
#

And I am import to the js file

swift vigil
#

wdym

rose lodge
#

Ty