Problem
#1

Hi all,i create this functions only for VIP players,to get every minute +5 hp to their health:

pawn Код:
forward VIPHP();
public VIPHP()
{
    for (new i=0;i<MAX_PLAYERS; i++)
    {
    if(PlayerVip[playerid] == 1)
    {
    new Float:health;
    GetPlayerHealth(i, health);
    SetPlayerHealth(i, health +5);
    }
    return 1;
}
I created timer,but what's wrong?

I get tons of errors.
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: 2 Guest(s)