23.07.2013, 15:28
Some of my commands return Unknown Command and they're scripted properly.
I've re-written them 5 times, taken caution each time and for some reason it keeps saying Unknown Command.
Ex:
I've re-written them 5 times, taken caution each time and for some reason it keeps saying Unknown Command.
Ex:
pawn Код:
CMD:jobquit(playerid, params[])
{
if(PlayerInfo[playerid][pJob] == 0)
{
SendClientMessage(playerid, COLOR_RED, "|- Error: You don't have a job to quit! -|");
}
else
{
PlayerInfo[playerid][pJob] = 0;
SendClientMessage(playerid, COLOR_GREEN, "|- Success: You are now unemployed! -|");
}
return 1;
}