16.11.2015, 11:59
Fixed, lel... I just needed to use my brain a bit more.
I've changed the for for(new and added to check is vehicle connected.
Rep +1 go to Yousha, because he kept trying to help me and not ignored me. Thanks to everyone who posted here to help.
I've changed the for for(new and added to check is vehicle connected.
Code:
for(new i = 1; i < sizeof(Vehicles); i++) { if(!IsVehicleConnected(i)) continue; if(IsVehicleOccupied(i)) continue; if(Vehicles[i][respawncar]!=1) continue; SetVehicleToRespawn(i); }