Invalid function
#5

Try this one!

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(PlayerInfo[playerid][pVip] >= 1)
    {
        GetPlayerHealth(killerid,health);
        SetPlayerHealth(killerid,health + 50.0);
        SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
    }
    else
    {
        GetPlayerHealth(killerid,health);
        SetPlayerHealth(killerid,health + 25.0);
        SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
    }
    return 1;
}
Reply


Messages In This Thread
Invalid function - by Louris - 19.11.2012, 16:24
Re: Invalid function - by Ballu Miaa - 19.11.2012, 16:32
Re: Invalid function - by Glad2BeHere - 19.11.2012, 16:35
Re: Invalid function - by Louris - 19.11.2012, 16:36
Re: Invalid function - by Ballu Miaa - 19.11.2012, 16:40
Re: Invalid function - by Louris - 19.11.2012, 16:56
Re: Invalid function - by Ballu Miaa - 19.11.2012, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)