Problem with Anti health hack! - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with Anti health hack! (
/showthread.php?tid=256783)
Problem with Anti health hack! -
fiki574 - 22.05.2011
Hi! So I have this problem with Anti Health Hack!
Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerHealth(playerid) > 200)
{
Ban(playerid);
}
return 1;
}
Код:
C:\Users\Bruno\Downloads\GTA San Andreas\SAMP Server\CSS\aa.pwn(1849) : warning 202: number of arguments does not match definition
C:\Users\Bruno\Downloads\GTA San Andreas\SAMP Server\CSS\aa.pwn(1849) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Problem with Anti health hack! - [S]trong - 22.05.2011
pawn Код:
new Float:Health;
GetPlayerHealth(playerid,Health);
if (Health > 200) {
Ban(playerid);
}
Re: Problem with Anti health hack! -
fiki574 - 22.05.2011
Works, tnx!