Simple NITRO LMB
#3

pawn Код:
//Define this first
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

//Under OnPlayerKeyStateChange
if (PRESSED( KEY_FIRE ))
{
     AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
}
Reply


Messages In This Thread
Simple NITRO LMB - by kbalor - 24.06.2012, 17:36
Re: Simple NITRO LMB - by WillyP - 24.06.2012, 17:39
Re: Simple NITRO LMB - by newbienoob - 24.06.2012, 17:40
Re: Simple NITRO LMB - by kbalor - 24.06.2012, 17:51
Re: Simple NITRO LMB - by newbienoob - 24.06.2012, 17:57
Re: Simple NITRO LMB - by kbalor - 24.06.2012, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)