20.04.2010, 18:27
xMoney: Server-side money system!
Hello, this is my first include, it is a server-side money system that will make all sa-mp hacks completely useless!NB: this version is only for GM, FS version coming soon!
NB2: this INC is not copied by another one, it may seem look familiar for the callback, but the code is completely different.
Installation:
- Put xMoney.inc in your pawno/include folder.
- Go to your GM and put #include <xMoney> on top and you've done!
- CTRL + H and replace all the old functions with the new!
Function list:
xGetPlayerMoney(playerid);
xSetPlayerMoney(playerid,amount);
xGivePlayerMoney(playerid,amount);
Callback list:
public OnPlayerMoneyHack(playerid,spawnedamount) <- Called when a player "spawns" the money.
What will I see in game?
Nothing, no textdraws or gametexts. Only the default green bar! :P
Bugs:
Casinт's and Stunt Bonus stuff...
Download:
PasteBin: Click!