all vehicles off default help
#3

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
something like this in OnGameModeInit()
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
   
for(new i=1;i!=MAX_VEHICLES;i++)
{
    GetVehicleParamsEx(i, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(i, 0, lights, alarm, doors, bonnet, boot, objective);
}

edit sorry actually you should do

pawn Код:
public OnGameModeInit()
{
    ManualVehicleEngineAndLights();
}
either will work but the second is better i think,
but will cause the lights to need a command also.
both work perfect! thx!
Reply


Messages In This Thread
all vehicles off default help - by TheDiscussionCafe - 29.04.2012, 00:32
Re: all vehicles off default help - by Jonny5 - 29.04.2012, 00:37
Re: all vehicles off default help - by TheDiscussionCafe - 29.04.2012, 00:44

Forum Jump:


Users browsing this thread: 1 Guest(s)