Set Player Money to 0
#6

Quote:
Originally Posted by YesYesYes
Посмотреть сообщение
pawn Код:
ResetPlayerMoney(playerid);
alternatively
pawn Код:
new money = GetPlayerMoney(playerid);
GivePlayerMoney(playerid, -money) // deduct the amount of money the player currently have
Why would you even think about doing that? You're using a variable, you're calling GetPlayerMoney, you're processing the subtraction and for what? To give the exact same effect as ResetPlayerMoney()...
Reply


Messages In This Thread
Set Player Money to 0 - by Mrich - 12.03.2013, 11:56
Re: Set Player Money to 0 - by IgrexolonO - 12.03.2013, 12:01
Re: Set Player Money to 0 - by Itzhak E. - 12.03.2013, 12:01
Re: Set Player Money to 0 - by YesYesYes - 12.03.2013, 12:03
Re: Set Player Money to 0 - by Mrich - 12.03.2013, 12:11
Re: Set Player Money to 0 - by MP2 - 12.03.2013, 12:16
Re: Set Player Money to 0 - by steki. - 12.03.2013, 12:17
Re: Set Player Money to 0 - by MP2 - 13.03.2013, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)