17.07.2017, 18:49
Why are you creating the player textdraws OnGameModeInit? They won't be created for all the players..
Create them under OnPlayerConnect and destroy them OnPlayerDisconnect and get rid of that loop
EDIT: and hold on
I am surprised you are not facing lag with that!? You are repeating a timer every 1ms!! Change it to 1000ms. one second is enough. Or no need for that timer even. Just update the textdraw whenever its value has changed
Create them under OnPlayerConnect and destroy them OnPlayerDisconnect and get rid of that loop
EDIT: and hold on
Код:
SetTimer("MoneyUpdater",1,true);