Y_hooks
#1

I wanted to create an anticheat with Y_hooks but it seems you can't hook a function to GivePlayerMoney? Like this
pawn Код:
Hook:Money_GivePlayerMoney(player, money){
    return Money[playerid] = Money[playerid] + money;
}
Код:
NPP_SAVE: C:\Users\Antoine\Desktop\AnteinoServer\gamemodes\AnteinoServer.pwn
CD: C:\Users\Antoine\Desktop\AnteinoServer\gamemodes
Current directory: C:\Users\Antoine\Desktop\AnteinoServer\gamemodes
"C:\Users\Antoine\Desktop\AnteinoServer\pawno\pawncc.exe" "AnteinoServer.pwn" -; -(
Process started >>>
AnteinoServer.pwn(53) : warning 203: symbol is never used: "Money_GivePlayerMoney"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
<<< Process finished.
================ READY ================
Please don't tell me to use a standard antihack system :'D
Reply


Messages In This Thread
Y_hooks - by StilThere - 14.05.2011, 14:59
Re: Y_hooks - by StilThere - 14.05.2011, 21:16
Re: Y_hooks - by StilThere - 27.05.2011, 08:30

Forum Jump:


Users browsing this thread: 3 Guest(s)