Anticheat problem :( - 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: Anticheat problem :( (
/showthread.php?tid=581575)
Anticheat problem :( -
James_Alonzo - 14.07.2015
RESOLVED +rep to helpers
Re: Anticheat problem :( -
James_Alonzo - 14.07.2015
Bump
Re: Anticheat problem :( -
Roberto80 - 14.07.2015
You want to ban?
Replace "kick(playerid);" with "ban(playerid);" lol
Re: Anticheat problem :( -
James_Alonzo - 14.07.2015
No, I just want it to stop kicking every admin or cop when going on Duty
Re: Anticheat problem :( -
MBilal - 14.07.2015
You need to make code like this
PHP код:
foreach(Player,i)
{
new Float:Armour;
GetPlayerArmour(i,Armour);
if(pInfo[i][pLevel] < 1 && IsPlayerConnected(i) && checkhereifheisnotcop)
{
if(Armour > 99.0 ) // what ever Ammount for Armour you max set in your server i use 99 in mine.
{
Ban(i);
}
}
}
Re: Anticheat problem :( -
notime - 14.07.2015
please add a pastebin link, I'm on my work PC and dont feel like downloading stuff.
Re: Anticheat problem :( -
Toxik - 14.07.2015
lmao what a hellish nabs comming on forums :O
Re: Anticheat problem :( -
James_Alonzo - 14.07.2015
Quote:
Originally Posted by MBilal
You need to make code like this
PHP код:
foreach(Player,i)
{
new Float:Armour;
GetPlayerArmour(i,Armour);
if(pInfo[i][pLevel] < 1 && IsPlayerConnected(i) && checkhereifheisnotcop)
{
if(Armour > 99.0 ) // what ever Ammount for Armour you max set in your server i use 99 in mine.
{
Ban(i);
}
}
}
|
Thanks , sounds good , going to try It
Quote:
Originally Posted by Toxik
lmao what a hellish nabs comming on forums :O
|
oh nice cool duh.
Quote:
Originally Posted by notime
please add a pastebin link, I'm on my work PC and dont feel like downloading stuff.
|
I can't bro , file too big x(
Re: Anticheat problem :( -
notime - 14.07.2015
Quote:
Originally Posted by Toxik
lmao what a hellish nabs comming on forums :O
|
I wouldnt word it this way, but I totally agree. The "Scripting Help" section should be called "Request a system" or something like that.
Re: Anticheat problem :( -
James_Alonzo - 14.07.2015
Quote:
Originally Posted by notime
I wouldnt word it this way, but I totally agree. The "Scripting Help" section should be called "Request a system" or something like that.
|
did I requested a System ? My anticheat is buggy and I dont know what to do , surprisingly its called Scripting Help OMG Fabulous and the magic in this is : Help if you want ... WAOW