SA-MP Forums Archive
left Alt = KEY_FIRE, right Alt = ??? - 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: left Alt = KEY_FIRE, right Alt = ??? (/showthread.php?tid=140311)



left Alt = KEY_FIRE, right Alt = ??? - _S_ - 08.04.2010

right Alt== ? ? ?


Re: left Alt = KEY_FIRE, right Alt = ??? - Thrarod - 08.04.2010

It differences player to player, if there is nothin on right alt may show nothing or weird s**t


Re: left Alt = KEY_FIRE, right Alt = ??? - _S_ - 08.04.2010

how to do that did the system determine right Alt ?


Re: left Alt = KEY_FIRE, right Alt = ??? - Calgon - 08.04.2010

Quote:
Originally Posted by _S_
how to do that did the system determine right Alt ?
As far as I know, this can only be done in textdraws.

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

That page should list what you must add inside a textdraw to show a key.


Re: left Alt = KEY_FIRE, right Alt = ??? - oggylt - 08.04.2010

Код:
 new keystr[128];
	format(keystr,sizeof(keystr),"I pressed %d",newkeys);
 	SendClientMessage(playerid,0x00ff009e,keystr);
put under onkeystatecahnge


Re: left Alt = KEY_FIRE, right Alt = ??? - _S_ - 08.04.2010

how to do that did the system determine right Alt ?
if for example a player pressed right Alt, that him kick.

or as right Alt to tie to left Alt?