SAMP /quitjob
#3

Let me show you how it looks.

This is my /join command. It's like joining a job etc. it works fully
Код:
CMD:join(playerid, params[])
{
	if(PlayerInfo[playerid][pJob] > 1)
	{
		if(IsPlayerInRangeOfPoint(playerid, 5.00, -1790.9364,1428.6631,7.1875))
		{
		    PlayerInfo[playerid][pJob] = 1;
		    SendClientMessage(playerid, COLOR_RED, "<!>Gradulations. You became Drug Dealer!");
		    return 1;
		}
		if(IsPlayerInRangeOfPoint(playerid, 5.00, -1713.6594,20.9223,3.5731))
		{
		    PlayerInfo[playerid][pJob] = 2;
		    return 1;
		}
	}
	else
	{
	    SendClientMessage(playerid, COLOR_RED, "<!>You already have a job! Type /quitjob to quit your job!");
	}
	return 1;
}
Reply


Messages In This Thread
SAMP /quitjob - by Squirrel - 25.03.2013, 15:58
Re: SAMP /quitjob - by Faisal_khan - 25.03.2013, 16:02
Re: SAMP /quitjob - by Squirrel - 25.03.2013, 16:04
Re: SAMP /quitjob - by Vince - 25.03.2013, 16:09
Re: SAMP /quitjob - by Faisal_khan - 25.03.2013, 16:10
Re: SAMP /quitjob - by dominik523 - 25.03.2013, 16:49

Forum Jump:


Users browsing this thread: 2 Guest(s)