So me and my friend are working on a gamemode, so I told him to make a health pickup, but how do I change it that the player gets +10 hp?
Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Health[playerid]) SetPlayerHealth(playerid,100), DestroyPickup(Health[playerid]);
return 1;
}