[ajuda] Respawn do Trailer
#1

Boa Noite, como eu coloco para qndo o player chegar no destino, a parte de traz da carreta desaparecer?
tem como colocar para isso acontecer?

PHP код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 515)
        {
            if(
PlayerInfo[playerid][pEmprego] == 16)
            {
                if(
PetrolJob2[playerid] >= 1){
                    if(!
IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))){ SendClientMessage(playerid,COLOR_RED,"* Voce nao esta com o Tanque!"); return 1; }
                    if(
PetrolJob[playerid] != && PetrolJob[playerid] != && PetrolJob[playerid] != 3){ PetrolJob[playerid] = 1; }
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "*O Caminhoneiro %s esta fazendo uma entrega."sendername );
                    
SendClientMessageToAll(COLOR_YELLOWstring);
                    if(
PetrolJob[playerid] == 1){
                        
PetrolJob[playerid] = 2;
                        
PetrolJob2[playerid] = 0;
                        
SetPlayerCheckpoint(playerid,1944.7424,-1771.1267,13.1157,10);
                        return 
1;
                    }
                    if(
PetrolJob[playerid] == 2){
                        
PetrolJob[playerid] = 3;
                        
PetrolJob2[playerid] = 0;
                        
SetPlayerCheckpoint(playerid,1003.4263,-941.8485,41.8079,10);
                        return 
1;
                    }
                    if(
PetrolJob[playerid] == 3){
                        
PetrolJob[playerid] = 4;
                        
PetrolJob2[playerid] = 0;
                        
SetPlayerCheckpoint(playerid,-97.8173,-1166.7585,2.2650,10);
                        return 
1;
                    }
                    if(
PetrolJob[playerid] == 4){
                        
PetrolJob[playerid] = 1;
                        
PetrolJob2[playerid] = 0;
                        
SetPlayerCheckpoint(playerid,-1695.5780,393.9520,7.7867,10);
                        return 
1;
                    }
                    return 
1;
                }
            }
            
SendClientMessage(playeridORANGE,"Vocк nгo tem gasolina no tanque, vб pegar na empresa de petrуleo (/GPS)");
        }
    } 
Reply


Messages In This Thread
[ajuda] Respawn do Trailer - by victor_thug - 13.04.2012, 23:43
Re: [ajuda] Respawn do Trailer - by whiXґ - 13.04.2012, 23:55
Respuesta: [ajuda] Respawn do Trailer - by Luciano* - 13.04.2012, 23:59
Re: [ajuda] Respawn do Trailer - by victor_thug - 13.04.2012, 23:59
Re: [ajuda] Respawn do Trailer - by victor_thug - 14.04.2012, 00:02
Re: Respuesta: [ajuda] Respawn do Trailer - by kratty - 14.04.2012, 00:08
Re: [ajuda] Respawn do Trailer - by paulor - 14.04.2012, 00:08
Re: [ajuda] Respawn do Trailer - by Ricop522 - 14.04.2012, 00:08
Re: [ajuda] Respawn do Trailer - by paulor - 14.04.2012, 00:15
Re: [ajuda] Respawn do Trailer - by victor_thug - 14.04.2012, 00:31

Forum Jump:


Users browsing this thread: 1 Guest(s)