06.06.2009, 13:16
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$.
But i dont think this happens so often. If the others has the same opinion, i think theres no need to change my code
Код:
stock GetUserMoney(playerid) { return pScriptMoney[playerid]; }