22.01.2017, 02:06
Quote:
This is not even an include in my opinion, its more like a filterscript. It needs more work in-order to function as an include.
I've also noticed that you created a timer that will be only used when a player connects and its killed when player disconnects, this timer should be killed as soon as this login textdraw is hidden as the timer has no use after it. nonetheless the design looks nice. |
Now, you want to load these things as Filterscript. How would you do the stuff I've made on "Example of showing TextDraws" (check mainpost) without messing around with CallRemoteFunction and similar stuff?
That's only 1 example of many.
If you feel like there are functions/features missing, feel free to mention them, I'm opened for any suggestion.
Another new small function will be available in the next few minutes / hours though.
About the timer:
The timer is killed automaticly in OnPlayerSpawn. Why not direct in the HideLoginTextDraws function?
I know, that's usually not the case, but imagine you've a charachter system with which you can switch ingame (without reconnecting) through accounts. You'd have to use HideLoginTextDraws & ShowLoginTextDraws multiple times and once you delete the timer in HideLoginTextDraw, it wouldn't update the Time anymore.
PS: Thanks for your comment.