Hmmm, No.. It just will update the variable with changes,
Lemme explain how it works
the variable 'Money' contains the player money it gets updated on OnPlayerConnect by player's cash (see the edit again)
in OnPlayerUpdate, The script checks if theres cash changes, ('Money' variable wont be changed unless the player gained cash) It will check if GetPlayerMoney(id) (The player cash in client) > Money[id] (The variable in server)
So it will set the variable to the new cash (if you didn't that, it will spam the text draw) and it gets the Increased/decreased cash and storing on IncreasedAmount / DecreasedAmount variables
You have to just update the textdraw with the Amount..
I hope i explained you
Edit:
Sorry, i typed it wrong in forums
PHP код:
Money[playerid] = PlayerInfo[playerid][pMoney];
instead of
PHP код:
Money[playerid] = PlayerInfo[playerid][pMoney]
missed
; :/