deathcost and payday issues
#1

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
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)