30.03.2011, 11:21
Hey scripters
so I want that when I turn on my mode , all of the cars engines will be turned off...
Tried that under OnGameModeInIt()
It doesnt work.
What to do ?
Thanks
so I want that when I turn on my mode , all of the cars engines will be turned off...
Tried that under OnGameModeInIt()
pawn Код:
for(new v = 0; v < MAX_VEHICLES; v++)
{
GetVehicleParamsEx(v,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(v,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
}
What to do ?
Thanks