#1

Actually, I have this bug.

When, i enter the car, I can drive it without typing /engine, I don't why is it happening?
do, you guys know how to fix this bug?

I hope, so I have to write something under OnPlayerEnterVehicle, but I don't remember that what i should write under it, so could you guys help me to fix it?

Regards,
RyanPetersons.
Reply
#2

you must use ManualEngineandLights first
Reply
#3

Quote:
Originally Posted by RyanPetersons
Посмотреть сообщение
Actually, I have this bug.

When, i enter the car, I can drive it without typing /engine
Very funny. Now back to the topic.

Quoting the wiki:

Код:
public OnGameModeInit()
{
    ManualVehicleEngineAndLights();
}
And for the command /engine:

Код:
new engine, lights, alarm, doors, bonnet, boot, objective,vid;
vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vid, 1, lights, alarm, doors, bonnet, boot, objective);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)