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


Messages In This Thread
deathcost and payday issues - by SeQualX - 07.07.2010, 17:45
Re: deathcost and payday issues - by TPD - 07.07.2010, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)