Set timer inside a textdraw
#3

PHP код:
forward RespawnCount(playerid);
public 
OnPlayerConnect(playerid)
{
if(
RespawnGeneral() == 0)
{
playertimer[playerid] = SetTimerEx("RespawnCount"1000true"i"playerid);
}
public 
RespawnCount(playerid)
{
    if(
RespawnGeneral() == 0)
    {
        
KillTimer(playertimer[playerid]);
    }
    else
    {
        new 
str[32];
        
format(strsizeof(str), "%s"TimeConvert(RespawnGeneral()));
    }
    return 
1;

?
Reply


Messages In This Thread
Set timer inside a textdraw - by Zeus666 - 29.09.2018, 11:32
Re: Set timer inside a textdraw - by TheToretto - 29.09.2018, 11:53
Re: Set timer inside a textdraw - by Zeus666 - 29.09.2018, 12:12
Re: Set timer inside a textdraw - by Zeus666 - 29.09.2018, 12:40
Re: Set timer inside a textdraw - by d3Pedro - 29.09.2018, 13:21
Re: Set timer inside a textdraw - by Zeus666 - 29.09.2018, 13:23
Re: Set timer inside a textdraw - by UFF - 29.09.2018, 15:02
Re: Set timer inside a textdraw - by Zeus666 - 29.09.2018, 15:06
Re: Set timer inside a textdraw - by UFF - 29.09.2018, 15:21
Re: Set timer inside a textdraw - by Zeus666 - 29.09.2018, 16:07

Forum Jump:


Users browsing this thread: 4 Guest(s)