19.08.2010, 01:54
What-is-this-again ?
After the v1 release with a Half-Working Shitty Script, i had to do a fixxed and better Version of this.
And i created this Full-working Perfect Script!
What does this ?
This Include protects %100 from MoneyHackers, and it doesn't detect Pay'n'Spray or something like that as a Money Hack (but stuntbonuses...).
If the Player cheats 500$, the 500$ will be removed from his Money.
Features
There's a Changelog in the .rar-Package, but here the list:
Quote:
*** FoxMoney v1 *** - Initial Release. - Half-Working shitty Script. - Pay'n'Spray, Vehicle Mods and eat/drink-machines were gratis (free). - Only the %20 of the cheated money were removed. *** FoxMoney v2 *** - Full-Working perfect Script. - Pay'n'Spray, Vehicle Mods and the eat/drink-machines do cost now. - Log-Function added. - "OnPlayerCheatMoney(playerid,newmoney,oldmoney )" Callback added. (Using is optional) - All Money Functions are replaced with new money functions (you mustn't change anything, plug&play) - For Money Checking is now another Callback used, not OnPlayerUpdate - MoneyCheck-Time is settable (time in seconds). - I %100 guarantee, ALL of the Cheated money will be removed, no chance to hack Money. |
There's a new Callback: "OnPlayerCheatMoney(playerid,newmoney,oldmoney )"
It's really useful, if you want to kick Moneyhackers:
[pwn]public OnPlayerCheatMoney(playerid, newmoney, oldmoney)
{
new pname[MAX_PLAYER_NAME],string[128],cheatedmoney=newmoney-oldmoney;
GetPlayerName(playerid,pname,sizeof(pname));
format(string,sizeof(string),"[FoxMoney] Player %s got kicked because he tried to Cheat %d$",pname,cheatedmoney);
SendClientMessageToAll(0xFFFFFF,string);
Kick(playerid);
return 1;
}[/pwn]
You CAN use this Callback, but you MUSTN'T.
Installation
Installation is pretty easy.
You must only add "#include <foXmoney_v2>" in your Script!
Download
Pastebin foXmoney.inc - Pastebin.de
Download FoxMoney_v2.rar - RapidShare
Download FoxMoney_v2.rar - SendSpace
Download FoxMoney_v2.rar - SolidFiles
Download FoxMoney_v2.rar - iFile.it
Close
Have Fun!
Made by FoxHound aka PSPgamer aka Gцkhan Akin