05.01.2013, 12:57
Ok so the bicycle in my GM won't drive when I enter them, I'm not exactly sure what to do. Here aree some things I have that may help with getting this fixed:
In my GM I have:
I have where /engine doesn't start bikes (as thats not RP), I have that the "engine" starts on entry using:
So Why can't I drive it? They're like frozen and nothing seems to allow me to pedal. (They are NOT literally frozen BTW)
In my GM I have:
pawn Код:
ManualVehicleEngineAndLights();
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new idcar = GetPlayerVehicleID(playerid);
new pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
if(pveh == 510 || pveh == 462 || pveh == 481 || pveh == 509)
{
gEngine[idcar] = 1;
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, lights, 0, 0, 0, 0, 0);
}