OnPlayerPickupDynamicPickup help
#1

Hello all

Umm i got lil problem. So far i have this code which works (opens the textdraw when i reach the pdenter pickup)

pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
    if(pickupid == pdenter)
    {
        TextDrawShowForPlayer(playerid, Textdraw0);
    }
  }
However, i would like to close the textdraw automatically when player leaves far enough from the pickup. I guess this should be done somehow with IsPlayerInRangeOfPoint & TextDrawHideForPlayer? Tried already some ways to fix, however the textdraw keeps staying on the window.
Reply


Messages In This Thread
OnPlayerPickupDynamicPickup help - by Bu$ter - 01.12.2012, 19:46
Re: OnPlayerPickupDynamicPickup help - by XtremeR - 01.12.2012, 19:51
Re: OnPlayerPickupDynamicPickup help - by Bu$ter - 01.12.2012, 20:18

Forum Jump:


Users browsing this thread: 1 Guest(s)