26.02.2018, 13:35
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Health[playerid])
{
new Float:h;
GetPlayerHealth(playerid, h);
SetPlayerHealth(playerid, h+10.0);
DestroyPickup(pickupid);
}
return 1;
}