Money Textdraw
#3

Ok thanks for your answear. As you alreay said, its only used when the stock is called and the stock gets called where normally you use GivePlayerMoney. So everytime a player uses a special command like /pay, /deposit, /withdraw its called. Theres no need to use it in loops, but it could get called if a player uses the sprunk machine (ill just check if the player loses 1$) and then remove some health and give the Player 1$.
Код:
stock GetUserMoney(playerid)
{
	return pScriptMoney[playerid];
}
But i dont think this happens so often. If the others has the same opinion, i think theres no need to change my code
Reply


Messages In This Thread
Money Textdraw - by Doktor - 06.06.2009, 12:40
Re: Money Textdraw - by Weirdosport - 06.06.2009, 12:57
Re: Money Textdraw - by Doktor - 06.06.2009, 13:16

Forum Jump:


Users browsing this thread: 2 Guest(s)