SA-MP Forums Archive
Chat question. - 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)
+--- Thread: Chat question. (/showthread.php?tid=415505)



Chat question. - Camorra - 13.02.2013

Hoi.

I wanted ask if there any way to get the " T " button as " OnPlayerKeyStateChange "
" Y " - A button to open the chat tool

I mean like if(newkeys & KEY_CROUCH) So its defult " C "

Thanks for reading / helping.


Re: Chat question. - coakiddo - 13.02.2013

Use:
pawn Код:
if(newkeys & 65536)
For "Y"


Re: Chat question. - kalanerik99 - 13.02.2013

where to find that codes for keys


Re: Chat question. - InfiniTy. - 13.02.2013

Quote:
Originally Posted by kalanerik99
Посмотреть сообщение
where to find that codes for keys
https://sampwiki.blast.hk/wiki/GetPlayerKeys

Scroll down a little.


Re: Chat question. - kalanerik99 - 13.02.2013

THX!


Re: Chat question. - Camorra - 14.02.2013

My bad GRR i was means to " T " there any way to get it ?


Re: Chat question. - zxc1 - 14.02.2013

I don't think there is a way to detect that key, maybe I am wrong though.


Re: Chat question. - Camorra - 14.02.2013

Mhmhmhm....
Thanks anyway guys !