SA-MP Forums Archive
deathcost and payday issues - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: deathcost and payday issues (/showthread.php?tid=157753)



deathcost and payday issues - SeQualX - 07.07.2010

hey there, im working on a rp gm and i tried to set the deathcost to 10 instead of 100 (using the godfather one)
i just change deathcost

pawn Код:
new cut;
            if (GetPlayerMoney(playerid) <= 0) cut = deathcost;
                else cut = - 90;
                        SafeGivePlayerMoney(playerid, -cut);
it works taking 10$ from the player but when you die the first time it gives you like 80$ then if u die again (2second time) it takes 10$ from the player....

and the payday thing i would like to set 100$ for every payday instead of randomly price

someone knows how to fix this issues? i would appreciate so much and thanks


Re: deathcost and payday issues - TPD - 07.07.2010

The SA-MP client is the program used to connect to servers. You need to post this topic in this section (scripting discussion) > http://forum.sa-mp.com/forumdisplay.php?f=12