Jump to content
  • 0

pomoc Nitro


Sparko

Dotaz

Čawte mám problém s nitrom

mám na servery nekonečné nitro .. na tlačítku KEY_FIRE

a keď v hre dám L.CTRL tak nitro sa zapne natrvalo , ale ak dám L.tlačítko na myši tak ide ako má

 

	//-------- NEKONEČNÉ NITRO --------//
{
if(oldkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid))
  {
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  }

Link to comment
Share on other sites

11 odpovědí na tuto otázku

Recommended Posts

  • 0

@ rhs: áno :d

 

Takže takto ^^

 

   //-------- NEKONEČNÉ NITRO --------//
{
if(newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid))
  {
  AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
  }

 

Niečo podobné mám aj ja..

Link to comment
Share on other sites

  • 0

Sparko zapsané to máš správně maximálně tam dej ještě stock + podmínku na zjíštění pokud máš auto a né motorku atd... a je jasné že nitro lze zapnout dvěma tlačítky pokud chceš aby to šlo oběma tak tam přídej nebo || a podmínku když stiskne tlačítko KEY_ACTION.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...