/respawncars problem
#10

Hm in cmd respawn
pawn Код:
new bool:Used[MAX_VEHICLES char],ID;
for(new i=0; i != MAX_PLAYERS; i++) if(IsPlayerConnected(i))
{
    ID = GetPlayerVehicleID(i);
    if(!ID) continue;
    Used{ID} = true;
}
for(new v=1; v != MAX_VEHICLES; v++)
    if(GetVehicleModel(v) && !Used{v})
        SetVehicleToRespawn(v);
Reply


Messages In This Thread
/respawncars problem - by Tuntun - 17.09.2014, 17:47
Re: /respawncars problem - by AMouldyLemon - 17.09.2014, 18:16
Re: /respawncars problem - by Tuntun - 17.09.2014, 19:31
Re: /respawncars problem - by Ox1gEN - 17.09.2014, 19:43
Re: /respawncars problem - by Tuntun - 17.09.2014, 19:52
Re: /respawncars problem - by Abagail - 17.09.2014, 20:02
Re: /respawncars problem - by Tuntun - 17.09.2014, 20:16
Re: /respawncars problem - by Jefff - 17.09.2014, 20:18
Re: /respawncars problem - by Tuntun - 17.09.2014, 20:20
Re: /respawncars problem - by Jefff - 17.09.2014, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)