Need 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: Need Help (
/showthread.php?tid=315544)
Need Help -
lordturhan - 03.02.2012
Ok so here is the deal
GivePlayerMoney(killerid, GetPlayerMoney(killerid) +5000);
This is a basic code but it gives more money then 5000.First it gives like 5025 then 10000 then 40000 etc etc
Can someone tell me why is this happening.
Re: Need Help - T0pAz - 03.02.2012
Because it's look like this
Give Player Money - the player, the player money + 5000 more.
It's increasing by 5000.
Re: Need Help -
Konstantinos - 03.02.2012
Just
pawn Код:
GivePlayerMoney( killerid, 5000 );
It doesn't set money to do it as the way yu posted but it gives.
Re: Need Help -
lordturhan - 03.02.2012
A simple mistake caused so many problems thanks guys.