health pickup
#1

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?

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Health[playerid]) SetPlayerHealth(playerid,100), DestroyPickup(Health[playerid]);
    return 1;
}
Reply


Messages In This Thread
health pickup - by ivndosos - 05.02.2018, 06:15
Re: health pickup - by KayJ - 05.02.2018, 06:44
Re: health pickup - by GaByM - 05.02.2018, 07:35
Re: health pickup - by Mugala - 05.02.2018, 07:56

Forum Jump:


Users browsing this thread: 2 Guest(s)