21.02.2014, 10:50
lol? already here
Код:
public OnPlayerEnterCheckpoint(playerid) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 591) { if(PilotJob[playerid] == 1){ PilotJob[playerid] = 2; SetPlayerCheckpoint(playerid,1570.9003,1504.5070,10.8370, 9.0); SendClientMessage(playerid, -1, "Go to the {FF0000}red check-point{FFFFFF} to un-load passengers!"); return 1; } if(PilotJob[playerid] == 2){ PilotJob[playerid] = 3; SetPlayerCheckpoint(playerid,1561.4513,-2414.2122,13.5547, 9.0); SendClientMessage(playerid, -1, "Go to the {FF0000}red check-point{FFFFFF} to un-load passengers!"); return 1; } if(PilotJob[playerid] == 3){ PilotJob[playerid] = 0; SendClientMessage(playerid, -1, "You have earned {FF0000}2500$"); GivePlayerMoney(playerid, 2500); SetPlayerScore(playerid, 2); DisablePlayerCheckpoint(playerid); return 1; } } }