errors
#6

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


Messages In This Thread
errors - by Tuntun - 21.02.2014, 10:28
Re: errors - by amirab - 21.02.2014, 10:33
Re: errors - by Konstantinos - 21.02.2014, 10:34
Re: errors - by Tuntun - 21.02.2014, 10:44
Re: errors - by Vanter - 21.02.2014, 10:48
Re: errors - by Tuntun - 21.02.2014, 10:50
Re: errors - by Vanter - 21.02.2014, 10:53
Re: errors - by Flake. - 21.02.2014, 10:54
Re: errors - by Konstantinos - 21.02.2014, 10:55
Re: errors - by Tuntun - 21.02.2014, 11:10

Forum Jump:


Users browsing this thread: 4 Guest(s)