08.06.2012, 07:32
Change
to
and about ManualVehicleEngineAndLights
add this line here
pawn Code:
new IsPlayerAttachedObjectSlotUsed(playerid, index);
new RemovePlayerAttachedObject(playerid, index);
new SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
pawn Code:
new IsPlayerAttachedObjectSlotUsed[playerid, index];
new RemovePlayerAttachedObject[playerid, index];
new SetVehicleParamsEx[vehicleid, engine, lights, alarm, doors, bonnet, boot, objective];
add this line here
pawn Code:
public OnGameModeInit()
{
ManualVehicleEngineAndLights();
}