Is it possible?
#1

I want to make ifplayerisinrangeofpoint pickup that he get some textdraw showing... I have made all txds but i dont know where to put this..
Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2249.6045, -2236.4414, 13.5469))
	    {
		    TextDrawShowForPlayer(playerid, PosaoTxd);
			TextDrawShowForPlayer(playerid, PosaoBox1);
			TextDrawShowForPlayer(playerid, KamijondzijeTxd);
			TextDrawShowForPlayer(playerid, UzmiPosaoTxd);
			TextDrawShowForPlayer(playerid, PosaoBox2);
			TextDrawShowForPlayer(playerid, PosaoBox3);
			TextDrawShowForPlayer(playerid, PosaoBox4);
			TextDrawShowForPlayer(playerid, PosaoBox5);
		}else
		    {
		        TextDrawHideForPlayer(playerid, PosaoTxd);
				TextDrawHideForPlayer(playerid, PosaoBox1);
				TextDrawHideForPlayer(playerid, KamijondzijeTxd);
				TextDrawHideForPlayer(playerid, UzmiPosaoTxd);
				TextDrawHideForPlayer(playerid, PosaoBox2);
				TextDrawHideForPlayer(playerid, PosaoBox3);
				TextDrawHideForPlayer(playerid, PosaoBox4);
				TextDrawHideForPlayer(playerid, PosaoBox5);
		    }
I need this to show when player is near how can I do that?I cannot put it onplayerpickuppickup it will be shown all the time soo..
Reply
#2

Use proxdetector
Reply
#3

Quote:
Originally Posted by PepsiCola23
Посмотреть сообщение
Use proxdetector
Did you really say that?

Probably - OnPlayerUpdate.
Reply
#4

Most of the people tend to forget about dynamic areas! When a player enters that dynamic area, show the textdraws and when the player leaves that dynamic area, hide the textdraws.

CreateDynamicSphere is ideal.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)