Problem
#2

Well post your errors.
EDIT: you forgot to close your function..

pawn Код:
forward VIPHP(playerid);
public VIPHP(playerid)
{
    for (new i=0;i<MAX_PLAYERS; i++)
    {
        if(PlayerVip[playerid] == 1)
        {
            new Float:health;
            GetPlayerHealth(i, health);
            SetPlayerHealth(i, health +5);
        }
    }
    return 1;
}
Also, there is no "playerid" in your function. Look what I did, and retype your function calling playerid aswell.
Reply


Messages In This Thread
Problem - by Face9000 - 21.01.2011, 19:19
Re: Problem - by _Tommy - 21.01.2011, 19:20
Re: Problem - by Face9000 - 21.01.2011, 20:12

Forum Jump:


Users browsing this thread: 1 Guest(s)