[FilterScript] Date & Time Textdraw [First Release]
#3

Quote:
Originally Posted by Freaksken
View Post
  • You don't initialize your textdraws. See section 1.2.1.2 from this tutorial to see why that's important.
  • Why 2 textdraws? You can just use ~n~ to do a linebreak.
  • You don't destroy the textdraws and reset the variables in OnFilterScriptExit.
  • The main-function is not needed in filterscripts.
  • Why are you starting the timer in OnPlayerConnect? Isn't this a global textdraw?
  • Don't use a random large enough array size. The first textdraw only uses 10 characters, the second only 5.
This is my first filterscript
So i am not a professional scripter or something.
also yes it is a global textdraw.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)