Help with TextDraw
#1

Hello, I need help with TextDraw. My problem is that I create a textdraw and I want to put it in the moment that a user falls from an airplane as he would ?
Also as I do, if the user points a weapon that is on the ground, I sent him a textdraw. and grab that weapon


NOTE:
each gun sends you a different TextDraw


Finally, when you point to a door and press F key, it automatically opens and allows you to enter that house or home.


all this is done for the pubg game mode
Reply
#2

Use a function to detect if player is falling, here is one.
At this one, you can add TextDrawShowForPlayer. Example:

PHP код:
new Text:FallingTextDrawCreate(150.0120.0"You are falling.."); // coordinates x(left/right) and y(up/down).
TextDrawShowForPlayer(playeridFalling); 
Reply
#3

Quote:
Originally Posted by webby
Посмотреть сообщение
Use a function to detect if player is falling, here is one.
At this one, you can add TextDrawShowForPlayer. Example:

PHP код:
new Text:FallingTextDrawCreate(150.0120.0"You are falling.."); // coordinates x(left/right) and y(up/down).
TextDrawShowForPlayer(playeridFalling); 
Thanks but...

Also as I do, if the user points to a weapon that is on the ground, I sent it to textdraw. and grab that gun

And finally, when you point to a door and press F key, it automatically opens and allows you to enter that house or home.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)