OnVehicleSpawn problem.
#1

public OnVehicleSpawn(vehicleid)
{
SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
return 1;
}

When i creating vehicle and applying "Params" everything works fine. But when the vehicle got destroyed/respawned
i need to do /engine or /lights cmd twice to make them work. Look like the same shit with player animations when they
are not applying from the first time so we need to use "Preload".

How to make it work with OnVehicleSpawn to i can change params without typing the command twice?

BTW im using ManualVehicleEngineAndLights();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)