[Ajuda] Respawn veнculos sem uso
#5

Quote:
Originally Posted by SkullGamer
Посмотреть сообщение
Pode coloca-la abaixo do comando .
Код:
CMD:respawndeso(playerid, vehicleid) 
{ 
    if(!IsPlayerAdmin(playerid)) return 0; 

    for(new i; i < MAX_VEHICLES; i++) 
    { 

        { 
            if(!IsVehicleO(i)) SetVehicleToRespawn(i); // Verificaзгo se o veнculo estб ocupado e respawn. 
        } 
    } 
    return 1; 
}  
stock IsVehicleO(vehicleid)  
{ 
    for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER) 
    return 1; return 0;  
}
coloquei igual estavam dizendo e ao entrar no game deu server uknown comando ;/
Reply


Messages In This Thread
Respawn veнculos sem uso - by Performancetotal - 28.01.2014, 18:50
Re: Respawn veнculos sem uso - by Ley - 28.01.2014, 19:04
Re: Respawn veнculos sem uso - by Performancetotal - 28.01.2014, 19:11
Re: Respawn veнculos sem uso - by SkullFire - 28.01.2014, 19:12
Re: Respawn veнculos sem uso - by Performancetotal - 28.01.2014, 19:21
Re: Respawn veнculos sem uso - by engelguilherme - 31.01.2014, 12:59
Re: Respawn veнculos sem uso - by engelguilherme - 31.01.2014, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)