make engine off ON SHIFT on keyboard help me!
#1

hi to all a have cmd for engine on

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys == KEY_CROUCH)
  {
	 if(IsPlayerInAnyVehicle(playerid))
	 {
		 if(IsPlayerConnected(playerid))
		 {
      new Vehicle = GetPlayerVehicleID(playerid);
      if(VehicleStarted[Vehicle] == 0)
  	    {
      SCM(playerid,0xFFFF00AA,"* Vozilo se pali");
	    GameTextForPlayer(playerid,"~n~~n~~n~~n~~n~~n~~n~~g~Vozilo se pali",3000,3);
	    SetTimerEx("Starting",3500,0,"i",playerid);
		  }
	   }
    }
  }
}
but how to make for engine off

thx for help.. )
Reply
#2

See in my signature? You see engine system? Download that, Either use the code of there or use it as example
Reply
#3

Quote:
Originally Posted by Torran
See in my signature? You see engine system? Download that, Either use the code of there or use it as example
Hey, i see that engine is start on SHIFT, but is there way that i dont need to type /engine off to stop engine, for example if i press C that engine is stop?
Reply
#4

Well i wouldnt recommend it, As if you press S it acts as shift also and ull just stop and freeze if u brake
Reply
#5

Quote:
Originally Posted by Torran
Well i wouldnt recommend it, As if you press S it acts as shift also and ull just stop and freeze if u brake
I download you FS and i can start engine only with cmd /engine, when i press shift nothing happend..
Reply
#6

Weird, But anyway as i said i wouldnt recommend using shift to turn engine off,
Unless you want a REAL annoying engine system
Reply
#7

Quote:
Originally Posted by Torran
Weird, But anyway as i said i wouldnt recommend using shift to turn engine off,
Unless you want a REAL annoying engine system
the way that my translator, traslate this on my laguage i have to say this: i press SHIFT and engine not start and not stop...maybe translator traslate this bed but shift dont work )
Reply
#8

I know i forgot i removed it because its too buggy to use to turn off your engine
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)