Textdraw MySQL doubt/help
#3

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

Yes, you have to do the textdraws clickable.
https://sampwiki.blast.hk/wiki/TextDrawSetSelectable
(Player => https://sampwiki.blast.hk/wiki/PlayerTextDrawSetSelectable)

Well, you have to go in this callback:
https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw
(Player => https://sampwiki.blast.hk/wiki/OnPlayerClickPlayerTextDraw)

So. Now you have to check wheather you click on the right textdraw.
PHP код:
if(clickedid == TEXTDRAW_NAME
(Player =>
PHP код:
if(playertextid == TEXTDRAW_NAME
)

Well. Now you can give this player the health, armour, and so on.

- Mencent
Well, as you see I use iTD..it has a function in which it makes the texts selectable.
If I have made the texts selectable, then is it all good ? Will it automatically give the player the weapons, or TP the player ?
Reply


Messages In This Thread
Textdraw MySQL doubt/help - by Sam15 - 23.07.2015, 13:32
AW: Textdraw MySQL doubt/help - by Mencent - 23.07.2015, 13:36
Re: AW: Textdraw MySQL doubt/help - by Sam15 - 23.07.2015, 13:39
AW: Textdraw MySQL doubt/help - by Mencent - 23.07.2015, 13:42
Re: Textdraw MySQL doubt/help - by Sam15 - 23.07.2015, 13:56
AW: Textdraw MySQL doubt/help - by Mencent - 23.07.2015, 13:58
Re: Textdraw MySQL doubt/help - by Sam15 - 23.07.2015, 13:58
Re: Textdraw MySQL doubt/help - by Sam15 - 24.07.2015, 12:36
Re: Textdraw MySQL doubt/help - by Sam15 - 25.07.2015, 09:06
AW: Textdraw MySQL doubt/help - by Mencent - 25.07.2015, 09:18

Forum Jump:


Users browsing this thread: 5 Guest(s)