#1

^^^^^^^^
Reply
#2

^^^^^^^^
Reply
#3

settimer in OnGameModeInit()
Reply
#4

Quote:
Originally Posted by ScRipTeRi
Посмотреть сообщение
settimer in OnGameModeInit()
No need for a timer, just update the textdraw string whenever kills, deaths or score is changed.
Reply
#5

Quote:
Originally Posted by Richie©
Посмотреть сообщение
No need for a timer, just update the textdraw string whenever kills, deaths or score is changed.
I recommend using SetTimerEx at onplayerconnect or onplayerspawn, Instead of your idea, since it uses less lines and probably less CPU usage. Correct me if i'm wrong.
Reply
#6

less lines don't mean less CPU usage. Timer would update textdraw (or check for changes) repeatedly for every player. Richie's given method would only update textdraw when info changes, so it is more efficent.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)