[Include] m_Money 2.0 - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] m_Money 2.0 (
/showthread.php?tid=292983)
m_Money 2.0 -
maxi459 - 26.10.2011
It is my new version Anty Money Hack.
Old version:
In this version added:
* PVar's
* Improved optimization of code
* Instead, the script is now include
Use:
Add on top of the map:
In your map change:
GivePlayerMoney on m_GivePlayerMoney
SetPlayerMoney on m_SetPlayerMoney
ResetPlayerMoney on m_ResetPlayerMoney
In OnPlayerUpdate add m_MoneyUpdate(playerid);
Example:
Код:
public OnPlayerUpdate(playerid)
{
m_MoneyUpdate(playerid);
return 1;
}
Download:
Pastebin: http://pastebin.com/enScjX4u
SendSpacep http://www.sendspace.com/file/d2iutz
Re: m_Money 2.0 -
Norn - 26.10.2011
Why don't you compare the money with the clientside value and reset if required, surely calling ResetPlayerMoney every like 11ms is a bad idea..
Re: m_Money 2.0 -
Marshall32 - 04.03.2012
Good but makes tooo much lagg.