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)
+--- Thread: Keys (
/showthread.php?tid=489086)
Keys -
Ph0eniX - 20.01.2014
Hi all , what is the keys F12 and INSERT in SA:MP ? i want to make at
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
if(newkeys & (F12)
{
Kick(playerid);
}
same at INSERT but...i don't know the name in SA:MP at this keys...some1 can help me pls ? i tryed to find...
Re: Keys -
CutX - 20.01.2014
Quote:
Originally Posted by Ph0eniX
Hi all , what is the keys F12 and INSERT in SA:MP ? i want to make at public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
if(newkeys & (F12)
{
Kick(playerid);
}
same at INSERT but...i don't know the name in SA:MP at this keys...some1 can help me pls ? i tryed to find...
|
You can't use F12
here's a list of keys which you can use:
https://sampwiki.blast.hk/wiki/Keys
any other key, like F12 or... the escape key can't be detected
Re: Keys -
Ph0eniX - 20.01.2014
pff...but how i can detect players who have s0b ... or another hack ?

now 1 player entered in my server and used "kill hack " or how is... how i can detect or how i can "disable" hes hack ?
Re: Keys -
iJumbo - 20.01.2014
You can not see if a mod is installed in game, but you can create a serverside anticheat that checks if the kill were made in the way that you want it ..
Re: Keys -
Ph0eniX - 20.01.2014
ok..ty .
i have more 1 big problem...someone all times acces my database file...and modify all acess at Admin + VIP . what i can do ? i have in script db_escape...but for nothing
Re: Keys -
Ph0eniX - 20.01.2014
come on ****** can you say me what i can do...?
Re: Keys -
Mauzen - 20.01.2014
Unauthorized database access can have too many reasons anyways, we cant tell you what to do without knowing the script and database setup.
Re: Keys -
Ph0eniX - 21.01.2014
but...if i put my GM on MySQL no one can use sql injection on my server no?