26.07.2013, 19:08
How would I be able to make it so that when a player enters any vehicle the engine is off and doesnt automatically turn on?
public OnGameModeInit()
{
ManualVehicleEngineAndLights();
}
Simple, by using ManualVehicleEngineAndLights();
Example: pawn Код:
|
public OnFilterScriptInit()
{
ManualVehicleEngineAndLights();
}
could i put that into the onfilterscriptinit callback?
|
Use this function before any player connects (OnGameModeInit) to tell all clients that the script will toggle the light and engine status by itself so that the vehicle doesn't start the engine when you enter it. |
#define MAX_VEHICLES (2000)