Losing $100 on death
#3

Just use GetPlayerMoney(playerid) maybe on OnPlayerUpdate, and store it in a variable, to use it on OnPlayerDeath.
First check if the variable contains a value less than $100, and use GivePlayerMoney(playerid, variablename);
I think you will solve it this way.
Reply


Messages In This Thread
Losing $100 on death - by siemka321 - 11.07.2013, 17:48
Re: Losing $100 on death - by Konstantinos - 11.07.2013, 17:51
Re: Losing $100 on death - by Dragonsaurus - 11.07.2013, 17:56
Re: Losing $100 on death - by Konstantinos - 11.07.2013, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)