20.01.2012, 18:26
For some reason it shows "SERVER: Unknown Command" randomly. I see no bugs or anything on the code
pawn Код:
CMD:quitjob(playerid,params[])
{
if(PlayerData[playerid][Job] == 0) return SCM(playerid,red,"ERROR: You are not in a job");
format(str,sizeof(str),"You have quitted %s",JobInfo[PlayerData[playerid][Job]][Jobname]);
SCM(playerid,COLOR_LIGHTBLUE,str);
PlayerData[playerid][Job] = 0;
return 1;
}