25.03.2013, 16:04
Let me show you how it looks.
This is my /join command. It's like joining a job etc. it works fully
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; }