What is the limits of SetPlayerScore (negative)
#1

I want to know what is the limit of negative version of SetPlayerScore

Example:

-1 to -10 something like that.

Thanks
Reply
#2

i once tried setting score in my file of over 1 million or so, and Y_INI retrieved the amount, but SetPlayerScore failed. so i guess the limit for positive is 1 million, must be the same for negative.
Reply
#3

I'm Guessing, Uhh.. Well maybe -1 to -99? MAybe more. Just Try it
Reply
#4

Thanks let me try on my include i'm making a include look at my signature. that function is for my v1.1
Reply
#5

One problem guys i want to make my function to not detect value 0 to -1million

code

pawn Код:
if(score == 0 > || < -1000000) return printf("MJUF Include Error: You cannot set DecreaseScore with value 0.");
did i did right?
Reply
#6

Yeah.. -100 is limit I think
Reply
#7

only think not "im sure?" well i believe above (the first comment) well he say "i once tried" so he means he already tried it.
Reply
#8

Try putting /setplayerscore -999999999999 then it WILL set the number in negative but less i think its like 10 million in negative... if you do that command it doesnt show up as 99999999999999999 but less
Reply
#9

Код:
if(score == 0 > || < -1000000) return printf("MJUF Include Error: You cannot set DecreaseScore with value 0.");
=>
Код:
if(score == 0 || score < -1000000) return printf("MJUF Include Error: You cannot set DecreaseScore with value 0.");
Reply
#10

never mind i fix it my self
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)