public OnPlayerPickUpPickup(playerid, pickupid){ new Float:health; GetPlayerHealth(playerid, health); if(pickupid == *yourpickuphere* && health > 100) return 0; return 1;}