I can drive with my car engine off. [Help!]
#1

Ok, So I added AVS (Advanced Vehicle System) and when I get into my car it says my engine is OFF but I can still drive it, How do I make it so my engine is truly 'off' when I get in?
Reply
#2

ManualVehicleEngineAndLights(); add this under gm int, u should read, before u post in the FS its marked big, lmfao @ u ppl
Reply
#3

Quote:
Originally Posted by T-Raw
Посмотреть сообщение
ManualVehicleEngineAndLights(); add this under gm int, u should read, before u post in the FS its marked big, lmfao @ u ppl
LMAO already tried that,

didn't work.
Reply
#4

then read all itz problems, idk it work normal when i tested it
Reply
#5

if(IsPlayerInAnyVehicle(playerid))
{
TogglePlayerControllable(playerid,0);
SendClientMessage(playerid,COLOR,"Type /engine to start your Vehicle");
}
UNTILL THE /engine command is not typed.

Maybe it work.Its like afk system bcz it stops the whole movement but i m not sure
Reply
#6

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
if(IsPlayerInAnyVehicle(playerid))
{
TogglePlayerControllable(playerid,0);
SendClientMessage(playerid,COLOR,"Type /engine to start your Vehicle");
}
UNTILL THE /engine command is not typed.

Maybe it work.Its like afk system bcz it stops the whole movement but i m not sure
Why would you use that old method, when the new method allows you to move your camera and what not, but just not have the vehicles engine started?
Reply
#7

I only use this so i suggested it.No problem if u use another
Reply
#8

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
I only use this so i suggested it.No problem if u use another
It's not a bad method to use, it all depends on YOUR coding style

I used this method awhile back, this was when I first learned how to create engine systems before we had all the nice new manual vehicle engine/lights and hoods/trunks.
Reply
#9

Quote:
Originally Posted by Gamer_007
Посмотреть сообщение
if(IsPlayerInAnyVehicle(playerid))
{
TogglePlayerControllable(playerid,0);
SendClientMessage(playerid,COLOR,"Type /engine to start your Vehicle");
}
UNTILL THE /engine command is not typed.

Maybe it work.Its like afk system bcz it stops the whole movement but i m not sure
Unfortunally, it didn't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)