What's up here?
#7

Well, OnPlayerUpdate() it's very faster, and it's spamming all chat. You can try yourself.

pawn Код:
new Updates;

public OnPlayerUpdate(playerid)
{
    Updates++;
    return 1;
}

CMD:updates(playerid, params[])
{
    new string[50];
    format(string, sizeof(string), "Here are curently %d updates!", Updates);
    SendClientMessage(playerid, -1, string);
    return 1;
}
With this simple filescript, you will see how many updates are per second. More faster, I think it's 30 ms.

Anyway, you should use a timer wich checks every second how many warns it's having that player.

Edit: Again, I didn't saw the guy above me.
Reply


Messages In This Thread
What's up here? - by LeXuZ - 05.12.2014, 18:22
Re: What's up here? - by iFiras - 05.12.2014, 18:33
Re: What's up here? - by LeXuZ - 05.12.2014, 18:34
Re: What's up here? - by iFiras - 05.12.2014, 18:52
Re: What's up here? - by PowerPC603 - 05.12.2014, 18:54
Re: What's up here? - by LeXuZ - 05.12.2014, 19:04
Re: What's up here? - by HY - 05.12.2014, 19:04
Re: What's up here? - by Vince - 05.12.2014, 19:25
Re: What's up here? - by LeXuZ - 05.12.2014, 19:30
Re: What's up here? - by LeXuZ - 05.12.2014, 19:37

Forum Jump:


Users browsing this thread: 1 Guest(s)