Need help with two things.
#4

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
     if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 531)
     {
        if(ExJob[playerid] == 1){
            ExJob[playerid] = 2;
            SetPlayerCheckpoint(playerid,50.2074,-86.3620,0.6094,10);
            SendClientMessage(playerid,COLOR_YELLOW,"* Please go to the next mark, and you'll be payed!");
            return 1;
         }
        if(ExJob[playerid] == 2){
            ExJob[playerid] = 3;
            SetPlayerCheckpoint(playerid,42.8746,-114.5679,0.6169,10);
            return 1;
         }
        if(ExJob[playerid] == 3){
            ExJob[playerid] = 4;
            SetPlayerCheckpoint(playerid,42.8746,-114.5679,0.6169,10);
            return 1;
         }
        if(ExJob[playerid] == 4){
            ExJob[playerid] = 5;
            SetPlayerCheckpoint(playerid,33.0193,-118.6128,0.6169,10);
            return 1;
         }
        if(ExJob[playerid] == 5){
            ExJob[playerid] = 6;
            SetPlayerCheckpoint(playerid,42.6236,-71.0327,0.6094,10);
            return 1;
         }
        if(ExJob[playerid] == 6){
            ExJob[playerid] = 7;
            SetPlayerCheckpoint(playerid,37.0597,-61.5438,1.5049,10);
            return 1;
         }
        if(ExJob[playerid] == 7){
            ExJob[playerid] = 8;
            SetPlayerCheckpoint(playerid,17.9072,-119.0836,0.6094,10);
            return 1;
         }
         if(ExJob[playerid] == 8){
            ExJob[playerid] = 9;
            SetPlayerCheckpoint(playerid,31.6652,-50.3610,2.5574,10);
            return 1;
         }
        if(ExJob[playerid] == 8){
            ExJob[playerid] = 9;
            SetPlayerCheckpoint(playerid,9.0930,-116.7551,0.6390,10);
            return 1;
         }
        if(ExJob[playerid] == 9){
            ExJob[playerid] = 0;
            DisablePlayerCheckpoint(playerid);
            SendClientMessage(playerid,COLOR_YELLOW,"* You have recieved $300 for your work!");
            GivePlayerMoney(playerid,150);
         }
     }
     return 1;
}
And how would I make their IP show on login? (and their name in yellow).
Reply


Messages In This Thread
Need help with two things. - by mkmk - 03.11.2014, 19:46
Respuesta: Need help with two things. - by Tusso4 - 03.11.2014, 20:08
Re: Need help with two things. - by denNorske - 03.11.2014, 20:47
Re: Need help with two things. - by mkmk - 03.11.2014, 21:59
Re: Need help with two things. - by denNorske - 03.11.2014, 22:16
Re: Need help with two things. - by mkmk - 03.11.2014, 22:26
Re: Need help with two things. - by mkmk - 03.11.2014, 23:05
Re: Need help with two things. - by denNorske - 03.11.2014, 23:14
Respuesta: Need help with two things. - by Tusso4 - 04.11.2014, 01:03

Forum Jump:


Users browsing this thread: 3 Guest(s)