04.05.2011, 20:12
Guys I need an unlimited health anti-hack , when someone use health hack will automaticly kicked from the server, can someone help me on making this?
I have a question for that, I have a server with lots of teleports, players can get jetpacks and they can buy weapons through commands, so if they get wepond throught this commands or if they win money from jobs that I added will they get ban?
|
new IsUsingCheatCMD[MAX_PLAYERS]
CMD:getjetpack(playerid,params[])
{
if(IsUsingCheatCMD[playerid] == 0)
{
bla bla bla for making jetpack etc.
IsUsingCheatCMD = 1;
}
else if(IsUsingCheatCMD[playerid] == 1)
{
SendClientMessage(playerid, COLOR_RED, "You can only use 1 cheatcmd at a time")
}
return 1;
}
public AutoCheaterBan()
{
if(IsUsingCheatCMD[playerid] == 0)
{
bla bla for banning users who hack without a cheatcmd
}
}