23.07.2015, 13:39
Quote:
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 код:
PHP код:
Well. Now you can give this player the health, armour, and so on. - Mencent |
If I have made the texts selectable, then is it all good ? Will it automatically give the player the weapons, or TP the player ?