Help (TimerEx bug) [Rep+]
#8

pawn Код:
forward hptimer(playerid);
public hptimer(playerid)
{
    SetPlayerHealthAC(playerid, GetPlayerHealth(playerid)+1);
    PlayerInfo[playerid][pHP] = SetPlayerHealth(playerid, GetPlayerHealth(playerid)+1);
    GameTextForPlayer(playerid, "~g~+1 HP", 500, 3);
    PlayerPlaySound(playerid, 1083, 0.0,0.0,0.0);
    SetTimerEx("hptimer", 7000, 0, "d", playerid);
    return 1;
}
Somethink like this...

But how do you call "hptimer" function? because i see SetTimerEx in function...
Reply


Messages In This Thread
Help (TimerEx bug) [Rep+] + ANOTHER QUESTION! - by GangsTa_ - 30.10.2011, 11:45
Re: Help (TimerEx bug) [Rep+] - by Kyle - 30.10.2011, 11:46
Re: Help (TimerEx bug) [Rep+] - by playbox12 - 30.10.2011, 11:50
Re: Help (TimerEx bug) [Rep+] - by Pinguinn - 30.10.2011, 11:50
Re: Help (TimerEx bug) [Rep+] - by GangsTa_ - 30.10.2011, 12:14
Re: Help (TimerEx bug) [Rep+] - by wups - 30.10.2011, 12:20
Re: Help (TimerEx bug) [Rep+] - by GangsTa_ - 30.10.2011, 12:22
Re: Help (TimerEx bug) [Rep+] - by Edvin - 30.10.2011, 12:23
Re: Help (TimerEx bug) [Rep+] - by GangsTa_ - 30.10.2011, 12:27
Re: Help (TimerEx bug) [Rep+] - by RyDeR` - 30.10.2011, 12:35

Forum Jump:


Users browsing this thread: 2 Guest(s)