Textdraws
#1

Hello

I'm making now a business and housing system for my RP server.
When player is near to some property, textdraw will create for him. I'm using 1 second timer for check.

I have 2 questions about that:
If is player 10 seconds near some property, whether textdraw to create 10 times or only 1?
How to check if player isn't near property to destroy created textdraw?

Sorry for my bad English
Reply
#2

When a player connects, create a textdraw for him and hide it. When he is near the house, use TextDrawSetString and set the text of the textdraw to the House price and etc, and use TextDrawShowForPlayer to show it to the player.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)