New help - 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: New help (
/showthread.php?tid=349207)
New help -
San1 - 08.06.2012
how can i make this with no server side if i remove resetplayermoney it wont give any cash with a cmd like /agivecash it will give lots and lots of cash aand dont stop giving the cash i gave $1 and it gives millions it works to the given amount with resetplayermoney but without it wont
Код:
forward AntiCash();
public AntiCash()
{
foreach(Player, i)
{
if(GetPlayerMoney(i) != PlayerCash[i])
{
new difference;
ResetPlayerMoney(i);
GivePlayerMoney(i,PlayerCash[i]);
return 1;
}
}
return 1;
}
Re: New help -
San1 - 08.06.2012
can anyone help
Re: New help -
San1 - 08.06.2012
Bump!