22.07.2011, 20:10
So I got a command , and I don't know how to make it for just one job , I mean , for the job but I want it done with the job's id .. could you give me any example how to do that ?
if(!strcmp(cmdtext, "/command", true))
{
if(PlayerInfo[playerid][pJob] != ID)
return SendClientMessage(playerid, -1, "[ERROR]: You are not a "-" !");
// ... rest of command
}