OnPlayerCommandText Textdraw creation
#1

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
Reply
#2

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
Reply
#3

Thank you, that's what I wanted.
I knew what I was looking for, but I didn't know it's name
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)