03.07.2011, 19:37
Ah yes, sorry about that. You will need to use the KEY_AIM definition.
Note, that it's not defined by SA:MP includes (for some reason), so you'll need to manually do it yourself.
EDIT: Vince may be right, I heard about keys having different values while on foot/in a vehicle. Use his suggestion.
Note, that it's not defined by SA:MP includes (for some reason), so you'll need to manually do it yourself.
pawn Код:
#define KEY_AIM (128) // According to Wiki