OnPlayerPickUpPickup
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    new Float:health;
    GetPlayerHealth(playerid, health);
    if(pickupid == *yourpickuphere* && health > 100) return 0;
    return 1;
}
Try it
Reply


Messages In This Thread
OnPlayerPickUpPickup - by RollTi - 27.04.2012, 01:11
Re: OnPlayerPickUpPickup - by ReneG - 27.04.2012, 01:35
Re: OnPlayerPickUpPickup - by RollTi - 27.04.2012, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)