Need help.
#10

Found the problem, add this:

pawn Код:
forward ClassTimerInvin(playerid);
public ClassTimerInvin(playerid)
{
    ClassSelectedInvin[playerid] = 0;
     IsInvincible[playerid] = 1 // <-----
    KillTimer(ClassTimerInvinVar);
    return 1;
}
forward Invincible(playerid);
public Invincible(playerid)
{
    if(IsInvincible[playerid] == 0) return IsInvincible[playerid] = 1;
    SetPlayerHealth(playerid,50);
    SendClientMessage(playerid,-1,"You are now Un-Invincible");
    return 1;
Reply


Messages In This Thread
Need help. - by Rudy_ - 21.06.2012, 13:52
Re: Need help. - by nilanjay - 21.06.2012, 14:00
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:01
Re: Need help. - by Rudy_ - 21.06.2012, 14:02
Re: Need help. - by nilanjay - 21.06.2012, 14:06
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:19
Re: Need help. - by Rudy_ - 21.06.2012, 14:24
Re: Need help. - by nilanjay - 21.06.2012, 14:26
Re: Need help. - by Rudy_ - 21.06.2012, 14:30
Re: Need help. - by vIBIENNYx - 21.06.2012, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)