SA-MP Forums Archive
Disable pressed keys? - 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: Disable pressed keys? (/showthread.php?tid=100257)



Disable pressed keys? - Rizard - 03.10.2009

Hi,

kinda updating stuff in my gamemode I bumbed on the id of disabling some keys... is there any way todo so?

Like for example:

if(newkeys == ...)
{
return 0;
}

I tried but this failed... this is the right way? is there another way? is there a way?

EDIT: Maybe someone has a DisableKey() function?

Grts Riz


Re: Disable pressed keys? - brett7 - 03.10.2009

i dont think you can because its coded into the actuall game itself


Re: Disable pressed keys? - Rizard - 04.10.2009

Thnx for the reply!

I'll try it with something else then

Grts Riz