SA-MP Forums Archive
help anti sobeyt money - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help anti sobeyt money (/showthread.php?tid=294914)



help anti sobeyt money - 26_RUSSS - 03.11.2011

Please let anti-cheat to money as samp-rp


Re: help anti sobeyt money - Aira - 04.11.2011

Try this include by PSPgamer_10


Re: help anti sobeyt money - [GOD]Dragonster82 - 04.11.2011

Use the function: Server-Sided Cash.

But I don't recommend it as when you use the vending machine for $1, it will return you $1 as it does not detect as a server function ( command )


Re: help anti sobeyt money - Rachael - 04.11.2011

server side money is very simple, just create a new function to return a players cash, and set their HUD
pawn Код:
stock GetMoney(playerid)
{
    ResetPlayerMoney( playerid );
    GivePlayerMoney( playerid , PlayerCash[playerid] );
    return PlayerCash[playerid];
}



Re: help anti sobeyt money - 26_RUSSS - 05.11.2011

god..thanks