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?
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
}
}