killtime for certain player
#1

As soon this public get activated by a other player ID the timer get's killed and the textdraw won't hide anymore..
I hope someone has a solution
pawn Код:
forward showdraw(playerid,text[]);
public showdraw(playerid,text[])
{
    KillTimer(Reset2);
    Reset2 = SetTimerEx("HideDraw",6000,false,"d",playerid);
    return 1;
}
Reply
#2

new Reset2[MAX_PLAYERS];

KillTimer(Reset2[playerid]);
Reset2[playerid] = SetTimerEx("HideDraw",6000,false,"d",playerid);
Reply
#3

I just done this, i wasn't thinking logical :P, Thanks anyway
Reply


Forum Jump:


Users browsing this thread: