15.08.2009, 19:38
How can i make a commands like this only for cop?
I trying to make one but it doesn't work!
Thank you for helping me!
I trying to make one but it doesn't work!
Thank you for helping me!
if(strcmp("/copcommand", cmd, true) == 0)//Modify to your command { if(gTeam[playerid] == COP) //Modify to your cop team! { GameTextForPlayer(playerid,"~b~COP ~w~Command!",4000,3); //Send message on screen. } else SendClientMessage(playerid,COLOR_RED,"(ERROR): Command for COPs!"); //Command for only cops message! return 1; }