OnPlayerCommandText Textdraw creation - 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: OnPlayerCommandText Textdraw creation (
/showthread.php?tid=524483)
OnPlayerCommandText Textdraw creation -
Dom7364 - 07.07.2014
Hello all!
I just started writing my own gamemode for my future server, but I forgot how to script textdraws...
What I want is:
If someone types /help then a textdraw should appear with lines like:
- Commands -
- Teleport locations -
and
- when I select "Commands" a new textdraw should appear with all commands in left side and what they do in right side.
- when I select "Teleport" a textdraw should appear with teleport locations, and when I select one, I should teleport to that location.
Is this possible to create/write?
Sorry for my bad english
Re: OnPlayerCommandText Textdraw creation -
Timeless - 07.07.2014
Lol are u sure textdraw is what you want? why not a dialog or menu system
if u want a dialog here's a tutorial on a dialog
https://sampforum.blast.hk/showthread.php?tid=109610
here is one for the menu system
https://sampwiki.blast.hk/wiki/Creating_a_simple_Menu
Re: OnPlayerCommandText Textdraw creation -
Dom7364 - 07.07.2014
Thank you, that's what I wanted.
I knew what I was looking for, but I didn't know it's name