Command Problem
#1

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;
}
Reply


Messages In This Thread
Command Problem - by Tanush123 - 20.01.2012, 18:26
Re: Command Problem - by Da' J' - 20.01.2012, 18:33
Re: Command Problem - by Snowman12 - 20.01.2012, 18:35
Re: Command Problem - by MSI - 20.01.2012, 18:35
Re: Command Problem - by [ABK]Antonio - 20.01.2012, 18:36
Re: Command Problem - by Tanush123 - 20.01.2012, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)