OnPlayerPickUpPickup
#2

not a expert
PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == health_100)
    {
        
SetPlayerHealth(playerid100);
    }
    return 
1;

make sure there's already a pickup called 'health_100' or what ever
PHP код:
new health_100
public OnFilterScriptInit() OR public OnGameModeInit()
PHP код:
health_100 CreatePickup(124020.00.00.0); //replace coordinates 
Reply


Messages In This Thread
OnPlayerPickUpPickup - by Mobtiesgangsa - 23.11.2017, 05:57
Re: OnPlayerPickUpPickup - by billy1337samp - 23.11.2017, 07:06
Re: OnPlayerPickUpPickup - by jasperschellekens - 23.11.2017, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)