Loop through all vehicles.
#5

Ouch. You are looping through all vehicles when any new vehicle spawns. Why not something like
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehicleid, 0, lights,alarm,doors,bonnet,boot,objective);
    return 1;
}
Reply


Messages In This Thread
Loop through all vehicles. - by arjanforgames - 21.07.2013, 11:12
Respuesta: Loop through all vehicles. - by Xabi - 21.07.2013, 11:16
Re: Respuesta: Loop through all vehicles. - by IstuntmanI - 21.07.2013, 11:20
Re: Loop through all vehicles. - by arjanforgames - 21.07.2013, 11:49
Re: Loop through all vehicles. - by Misiur - 21.07.2013, 11:52
Re: Loop through all vehicles. - by DobbysGamertag - 21.07.2013, 11:53
Re: Loop through all vehicles. - by arjanforgames - 21.07.2013, 12:05
Re: Loop through all vehicles. - by IstuntmanI - 21.07.2013, 12:13
Re: Loop through all vehicles. - by arjanforgames - 21.07.2013, 12:17
Re: Loop through all vehicles. - by zDevon - 21.07.2013, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)