Quote:
Originally Posted by e12harry
No I did not. I waned to use one function for all. I saw this kind of work in many plugins, but I dont't know results in them.
If this is normal behaviour I will format message for each player and display separately.
Will the message be formated this way than:
Code:
set_task(0.5, "showTimeVoteResults");
formatex(item, charsmax(item), "%d %L [%d]^n", t, id, LANG_PLAYER, "MINUTES", mapTimesVotes[i]);
where id is id of player?
Or should it be formated in other way ?
Can I use one SyncHudObject for all players?
|
I meant to say "you have to" not just "you have".
You almost got it right, except for a few things:
- That set task I show above needs to be outside the loop.
- When formatting ML for player id, the format is: id, "KEY" (remove your LANG_PLAYER arg)
You should be able to use the same SyncHudObject for all players.
__________________