Simple functions doubles the amount.
#1

Hi I've ran into the most annoying bug ever. Tried to fix it for 3 hours now without success.

This simple function:
Код HTML:
stock GivePlayerMoneyEx(playerid, amount)
{
	Account[playerid][PocketMoney] += amount;
	GivePlayerMoney(playerid, Account[playerid][PocketMoney]);
	return true;
}
That function will double the amount of money without any reason. If I do GivePlayerMoney nothing happens. What is wrong?
Reply


Messages In This Thread
Simple functions doubles the amount. - by CrazyChoco - 27.12.2015, 16:53
Re: Simple functions doubles the amount. - by SecretBoss - 27.12.2015, 17:03
Re: Simple functions doubles the amount. - by SickAttack - 27.12.2015, 17:06
Re: Simple functions doubles the amount. - by CrazyChoco - 27.12.2015, 18:16
Re: Simple functions doubles the amount. - by AmigaBlizzard - 27.12.2015, 23:24
Re: Simple functions doubles the amount. - by SickAttack - 28.12.2015, 00:52
Re: Simple functions doubles the amount. - by jessejanssen - 28.12.2015, 02:23
Re: Simple functions doubles the amount. - by SickAttack - 28.12.2015, 03:04
Re: Simple functions doubles the amount. - by AmigaBlizzard - 05.01.2016, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)