Question about textdraws...
#1

Hi scripterz

I saw on the samp wiki that when you are setting an player textdraw you need [MAX_PLAYERS]. Eg. new PlayerText:Textdraw[MAX_PLAYERS]; So my question is do i need to add that ? I heard my friends who also are good scripters that they do not use [MAX_PLAYERS] because it is causing lag....
Reply
#2

no you don't need [MAX_PLAYERS] you only need it when you make textdraws like kills and deaths and things like that
Reply
#3

An array is still needed for the variable as the ID of the textdraw may differ from player to player, as they may have more or less textdraws created than the other.
Reply
#4

Thanks for the answers :P I will proceed using MAX_PLAYERS... REP +1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)