- 0
AntiMoney Hack
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Guest RinX
Salut, am o MICA
problema... am configurat anitcheatul GM-ului meu. Dar 2 ''lucrusoare'' enervante.. cand playerul se conecteaza imi spune ca si`a spawnat bani... :|... iar alta vreau sa stiu exact cat si`a spawnat ... am incerct si cu GetPlayerMoney si cu ConsumingMoney sa fac in asa fel in cat sumele care nu apar in pay.log sa fie ca si spawn etc... deci vreau sa rezolv aceste 2 probleme si am nevoie de ajutorul vostru ... Ms 
Code :
if(GetPlayerMoney(i) - CurrentMoney[i] >= 1 && PlayerInfo[i][pAdmin] < 1) { if(ConsumingMoney[i]) { CurrentMoney[i] = GetPlayerMoney(i); ConsumingMoney[i] = 0; } else { GetPlayerName(i, plname, sizeof(plname)); GetPlayerMoney(i, plname, pmoney); format(string, 256, "AntiCheat!: [%d]%s a spawnat [ o suma ] in mai putin de o secunda (moneycheat), foloseste /check .",i,plname); ABroadCast(COLOR_GREEN,string,1); PayLog(string); CurrentMoney[i] = GetPlayerMoney(i); } }Later Edit : Am gasit un Anti Momey Hack imi pare destul de bun .. vad ca nu arata banii spawnati din bonusurile pentru sarituri si altele ://Union Anti Money Hack! (GodFather Compile) by chenza //Support GM GodFather Only!!! #if defined FILTERSCRIPT #define GivePlayerMoney Union_GiveMoney #define ResetPlayerMoney Union_ResetMoney #define GetPlayerMoney Union_GetMoney new ScriptMoney[MAX_PLAYERS]; forward CheckMoneyHack(); forward Union_GiveMoney(plyid, amounttogive); forward Union_ResetMoney(plyid); forward Union_GetMoney(plyid); public OnGameModeInit() { EnableStuntBonusForAll(0); // Disable Stunt Bonus SetTimer("CheckMoneyHack",5000,1); return 1; } public Union_GiveMoney(plyid, amounttogive) { GivePlayerMoney(plyid, amounttogive); ScriptMoney[plyid] = (ScriptMoney[plyid] + amounttogive); return 1; } public Union_ResetMoney(plyid) { ResetPlayerMoney(plyid); ScriptMoney[plyid] = 0; return 1; } public Union_GetMoney(plyid) { ScriptMoney[plyid]; return 1; } public CheckMoneyHack() //Anti Money Hack By ChenZa!! { for(new i = 0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new string[256]; new giveplayer[MAX_PLAYER_NAME]; new money = GetPlayerMoney(i); new pcash = Union_GetMoney(i); if(pcash < money) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); new year, month,day; getdate(year, month, day); new moneynumber = money-pcash; format(string, sizeof(string), "AdmWarning : %s is use Money Cheat amount: %d", giveplayer, moneynumber); SendAdminMessage(0xFFFF00AA, string); Union_ResetMoney(i); Union_GiveMoney(i, pcash); } else { ScriptMoney[i] = money; } } } return 1; }P.S acesta cand il introduc ca FS trebuie sa il dezactivez pe al meu (cel al Gm`ului) ?
6 answers to this question
Recommended Posts