#1

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...
Reply
#2

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
Reply
#3

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 ?
Reply
#4

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 ..
Reply
#5

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
Reply
#6

come on ****** can you say me what i can do...?
Reply
#7

Unauthorized database access can have too many reasons anyways, we cant tell you what to do without knowing the script and database setup.
Reply
#8

but...if i put my GM on MySQL no one can use sql injection on my server no?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)