Textdraw Questions, Menus/Stats, Etc.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw Questions, Menus/Stats, Etc.. (
/showthread.php?tid=395242)
Textdraw Questions, Menus/Stats, Etc.. -
andrew2695 - 25.11.2012
Hi, I like textdraws but I'm kinda new with them and I would like to know if I'm creating a stats command with textdraws(/stats [PlayerID] it would be better to use PlayerTextDraw because it only showing infos to 1 player or I'm better using TextDrawCreate? with like Textdraw1[MAX_PLAYERS];
Re: Textdraw Questions, Menus/Stats, Etc.. -
RenSoprano - 25.11.2012
I think PlayerTextDraw will be more good then normal textdraw
Re: Textdraw Questions, Menus/Stats, Etc.. -
andrew2695 - 25.11.2012
I just tought about it but I would like someone expenrienced with them to confirm.
Re: Textdraw Questions, Menus/Stats, Etc.. -
Vince - 25.11.2012
PlayerTextDraws get destroyed in OnPlayerDisconnect. If that's what you want then by all means use them. If not, use regular textdraws. Both still need the array.
Re: Textdraw Questions, Menus/Stats, Etc.. -
andrew2695 - 25.11.2012
Oh i see, thanks.