25.05.2015, 20:10
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..
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..
Код:
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);
}


