[ajuda]Respawn no carro antigo
#5

PHP код:



new Carro[MAX_PLAYERS] = 0x0;
    if(
strcmp(cmd"/zr350"true) == 0) {
        
DestroyVehicle(Carro[playerid]);
        new 
Float:Pos[4];
        
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
        
GetPlayerFacingAngle(playerid,Pos[3]);
        
Carro[playerid] = AddStaticVehicle(477,Pos[0],Pos[1],Pos[2],Pos[3],-1,-1,60000);
        
PutPlayerInVehicle(playeridCarro[playerid], 0);
        return 
0x01;

    }
    
//OnPlayerDisconnect:

    
if(Carro[playerid] > 0DestroyVehicle(Carro[playerid); 
Reply


Messages In This Thread
[ajuda]Respawn no carro antigo - by Andrew_Guiga - 21.06.2011, 15:17
Re: [ajuda]Respawn no carro antigo - by Shadoww5 - 21.06.2011, 15:23
Re: [ajuda]Respawn no carro antigo - by Dr_Pawno - 21.06.2011, 15:28
Re: [ajuda]Respawn no carro antigo - by Andrew_Guiga - 21.06.2011, 15:38
Re: [ajuda]Respawn no carro antigo - by Ricop522 - 21.06.2011, 15:47
Re: [ajuda]Respawn no carro antigo - by Shadoww5 - 21.06.2011, 16:05

Forum Jump:


Users browsing this thread: 2 Guest(s)