OnPlayerDeath drops a simple pick up
#9

i have this in this format
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(1240 == DeathPickup)
    {
        new Float:health;
        GetPlayerHealth(playerid, health);
        SetPlayerHealth(playerid, health+50);
        DestroyPickup(DeathPickup);
        return 1;
    }
    return 0;
}
and its getting me these 2 errors

error 033: array must be indexed (variable "DeathPickup")
error 035: argument type mismatch (argument 1)
Reply


Messages In This Thread
OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 10:01
Re: OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 10:49
Re: OnPlayerDeath drops a simple pick up - by CAR - 09.07.2010, 11:09
Re: OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 12:28
Re: OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 12:34
Re: OnPlayerDeath drops a simple pick up - by CAR - 09.07.2010, 12:41
Re: OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 13:09
Re: OnPlayerDeath drops a simple pick up - by Zimon95 - 09.07.2010, 13:11
Re: OnPlayerDeath drops a simple pick up - by OldDirtyBastard - 09.07.2010, 13:29
Re: OnPlayerDeath drops a simple pick up - by CAR - 09.07.2010, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)