Question...
#1

Im trying to make a script to only do something when a player has over or equal to 50 points, this is how i have it do far but i dont think it would work..

Would it, here is the section of script...

pawn Код:
if (GetPlayerScore(playerid) > 49)
{
   // The thing i want it to do...
}
Would it work?

Thanks,
Ash!
Reply
#2

Should do.
Reply
#3

Should work, more logical:

pawn Код:
if (GetPlayerScore(playerid) >= 50)
{
   // The thing i want it to do...
}
Reply
#4

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Im trying to make a script to only do something when a player has over or equal to 50 points, this is how i have it do far but i dont think it would work..

Would it, here is the section of script...

pawn Код:
if (GetPlayerScore(playerid) > 49)
{
   // The thing i want it to do...
}
Would it work?

Thanks,
Ash!
Why don't you just test it ingame with a simple command?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)