quitjob command
#2

Код:
if(strcmp(cmd, "/quitjob", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	   	{
		    if(PlayerInfo[playerid][pJob] > 0)
			{
			    if(PlayerInfo[playerid][pJob] == 17 && CP[playerid] != 0)
				{
				    CP[playerid] = 0;
					DisablePlayerCheckpoint(playerid);
				}
				SendClientMessage(playerid, COLOR_WHITE, "Job quited succefully");
				PlayerInfo[playerid][pJob] = 0;
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GREY, "You have no job");
			}
		}
		return 1;
	}
Reply


Messages In This Thread
quitjob command - by acchack1vn - 14.02.2014, 16:20
Re: quitjob command - by Clad - 14.02.2014, 16:26
Re: quitjob command - by Aerotactics - 14.02.2014, 16:28
Re: quitjob command - by ACI - 14.02.2014, 16:29
Re: quitjob command - by acchack1vn - 14.02.2014, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)