06.07.2011, 19:23
If you want all the vehicles are shut down when GM starts, use this:
PHP код:
public OnGameModeInit()
{
new engine,lights,alarm,doors,bonnet,boot,objective;
for(new i = 0; i < MAX_VEHICLES; i ++)
{
GetVehicleParamsEx(i,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(i,0,lights,alarm,doors,bonnet,boot,objective);
}
return 1;
}