How to make some command for some color only
#1

Hi!
I want to make some commands for some color only example blue. Must I use GetPlayerColor or something?

Could you give me an example
Reply
#2

Код:
if(GetPlayerColor(playerid) == COLOR_BLUE)
{
// code here
}
else
{
SendClientMessage(playerid,COLOR_RED,"You don't have color blue.");
}
return 1;
}
change color_Red to ur color, should work.
Reply
#3

Thanks. I forgot how to make that so I asked :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)