change key
#1

Код:
if((newkeys & KEY_CROUCH) && (newkeys & KEY_FIRE) )
How can i change this to left ctrl by it sef not to keys
Reply
#2

You can't.. :S

You just can detect the ones that are used by GTA like KEY_FIRE or KEY_ACTION

You can only make it work with ctrl if you have configured on your GTA on controller setup the action key to ctrl.
Reply
#3

what keys can be used.
Reply
#4

Search on Wiki.
Reply
#5

https://sampwiki.blast.hk/wiki/GetPlayerKeys

this has a list of all keys , there is 2 ctrl :

KEY_SECONDARY_ATTACK

KEY_FIRE

those both i think
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)