GetPlayerColor or something like this
#1

Hey people... Someone know how to Get playr color? I want to make a cmd that only allow blue color people to use...
For example, to limit only for admin is:

IsPlayerAdmin
I want it for the color...

Thanks
Reply
#2

Sorry for spam but can someone help?
Reply
#3

pawn Код:
COMMAND:whatever(playerid, params[])
{
    if(GetPlayerColor(playerid) == COLOR_BLUE)
    {
        //Your code
    }
    return 1;
}
I've never really used it, but here's some documentation that may help you out if my code doesn't work.

GetPlayerColor
Reply
#4

Thanks I just can try it later coz i am with problems in GM cmds...

HowEver thanks for help me!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)