SetPlayerChatBubble
#1

Hello, i have an question can that Chat Bubble lag?

Код:
forward pausecheck();
public pausecheck()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new PausedSeconds = gettime()-PauseTime[i];
        if(PausedSeconds > 5) 
        {
        SetPlayerChatBubble(i, "Paused", COLOR_YELLOW, 100.0, 10000);
        }
    }
    return 1;
}
Reply
#2

No, it doesn't. Unless, you're using the pausecheck timer less than 500 milliseconds. 1000 or 2000 is fine.
Reply
#3

Код:
    SetTimer("pausecheck", 4321, true);
Is that okay, Dwane?
Reply
#4

I'd use rounding (4000), but it's fine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)