SA-MP Forums Archive
Nitro FS ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Nitro FS ? (/showthread.php?tid=119203)



Nitro FS ? - sXecookie - 07.01.2010

Anyone knows where I can find that nos that you just press number 2 or hold the left mousebutton?
I found two, but both links are dead.


Re: Nitro FS ? - [XST]O_x - 07.01.2010

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Quote:
Originally Posted by Wiki
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_FIRE))
    {
        new
            vehicleid = GetPlayerVehicleID(playerid);
        if (vehicleid)
        {
            AddVehicleComponent(vehicleid, 1010);
        }
    }
    return 1;
}



Re: Nitro FS ? - sXecookie - 07.01.2010

Amm, can't make it a fs for me? :3 *LAZY*


Re: Nitro FS ? - Deat_Itself - 07.01.2010

Quote:
Originally Posted by sXecookie
Amm, can't make it a fs for me? :3 *LAZY*
you can directly put it into your GM and it will work


Re: Nitro FS ? - sXecookie - 07.01.2010

ok