#1

i want to a vehicle light and engine system i found a tutortial but it is not working

like in rp server

press E to switch on engine

press L to switch on lights

i want the code when we press e key on keyboard vehicle engine turn on , press e again vehicle engine turns off

same thing for lights

if someone could help me to make the code or give me a few links which have some tut like this.

Thnaks
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

https://sampwiki.blast.hk/wiki/ManualVehicleEngineAndLights

There should help you.
Reply
#3

thanks for helping but you didnt get my point , i know

public OnGameModeInit()
{
ManualVehicleEngineAndLights();
}


i just want the function

for example i use

CMD:lighston(playerid,params[])
SendClientMessage(playerid , -1"light has been switched on )
.........................................<<<<<<<<< << i want this function which will turn the light on and a fucntion for light off
Reply
#4

Something like this would work? https://sampforum.blast.hk/showthread.php?tid=267125
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)