OnPlayerKeyStateChange
#2

heres a list of all KEY_ constants:
https://sampwiki.blast.hk/wiki/GetPlayerKeys
you only need to change this line
Код:
if(PRESSED(KEY_FIRE))
to
Код:
if(PRESSED(KEY_CROUCH))
in a vehicle the keys are asigned slightly different than on foot...
Reply


Messages In This Thread
OnPlayerKeyStateChange - by Speed - 12.07.2011, 11:38
Re: OnPlayerKeyStateChange - by Babul - 12.07.2011, 11:46

Forum Jump:


Users browsing this thread: 2 Guest(s)