09.02.2019, 19:03
Quote:
1. Dump it in OnPlayerUpdate (if you're lazy and inefficient).
2. Store the wanted level code under a function, and use a repeating SetTimer under OnGameModeInit (or wherever you like that WILL get called early on during script initialization) that calls the function every x seconds. Don't forget to kill the timer once the player disconnects though. (much better) |