21.05.2011, 16:10
I'm just not sure if this is right at all, what im attempting to do is just make a vehicle starts its engine as soon as a player enters a vehicle.
That's what ive got and it should work right?
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,1,lights,alarm,doors,bonnet,boot,objective);
return 1;
}