How to check if player has 5 score
#1

Im making a robbery command,
And your score needs to be "5" before you can rob,
What would i put so it checks to see what there score is
Reply
#2

pawn Код:
CMD:rob(playerid, params[]) //(ZCMD)
{
    if(GetPlayerScore(playerid) >= 5)
    {
        // Continue
    }
}
Reply
#3

Thanks
Reply
#4

Oh Btw Would i be able to use that for GetPlayerPos too?

Soz for double post
Reply
#5

Quote:
Originally Posted by JoeDaDude
Oh Btw Would i be able to use that for GetPlayerPos too?

Soz for double post
I think if you want to check if someone is close to a point you have to use IsPlayerToPoint.

[Doppeyy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)