GetPlayerKeys - 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: GetPlayerKeys (
/showthread.php?tid=187992)
GetPlayerKeys -
willsuckformoney - 05.11.2010
What keys are these?
Код:
KEY_ANALOG_UP
KEY_ANALOG_DOWN
KEY_ANALOG_LEFT
KEY_ANALOG_RIGHT
Re: GetPlayerKeys -
OldDirtyBastard - 05.11.2010
I think thats for the gamepad, KEY_ANALOG = Analog Stick.
Re: GetPlayerKeys -
The_Gangstas - 05.11.2010
or.. read the wiki?
KEY_ANALOG_UP2048-~k~~VEHICLE_TURRETUP~
KEY_ANALOG_DOWN4096-~k~~VEHICLE_TURRETDOWN~
KEY_ANALOG_LEFT8192~k~~VEHICLE_LOOKLEFT~~k~~VEHICL E_TURRETLEFT~
KEY_ANALOG_RIGHT16384~k~~VEHICLE_LOOKRIGHT~~k~~VEH ICLE_TURRETRIGHT~
they are say.. change ur w s d a to up down left right
then those buttons are w s d a
when u now get gta w s d a are the moving buttons , so then the up down left right arrow keys are those analog buttons.
understood me ?S:
Re: GetPlayerKeys -
willsuckformoney - 05.11.2010
Should had been more specific for the ones that wanna be so smart, I meant for on foot only, on foot what key is it? Its not W A S or D because none of them worked, tried.
Re: GetPlayerKeys -
Retardedwolf - 05.11.2010
Its Numpad 8,4,2 and 6. I think that only applies when you're in a vehicle.
Re: GetPlayerKeys -
RedFusion - 05.11.2010
Well, turret stuff sounds like the turret attached to a rhino or something.
Maybe it is when you move the mouse?
Re: GetPlayerKeys -
Cameltoe - 05.11.2010
Quote:
Originally Posted by willsuckformoney
What keys are these?
Код:
KEY_ANALOG_UP
KEY_ANALOG_DOWN
KEY_ANALOG_LEFT
KEY_ANALOG_RIGHT
|
To get the asdw buttons you need to make an timer / onplayerupdate, GetPlayerKeys.
Re: GetPlayerKeys -
knackworst - 05.11.2010
They are the keys of the Vehicle camerea... ANALOG key left is 4, ANALog right is 6, up is 8 and down is 2 : )