How to target everyuser in the game?
#3

Loop through all players, check if they allow that messages, and if so, send them that message. Shouldnt be that hard at all.
Example:

pawn Код:
for (new i = 0; i < MAX_PLAYERS; i++) {
    if (!IsPlayerConnected(i) || !noobMode[i]) continue;
    SendClientMessage(i, color, message);
}
Reply


Messages In This Thread
How to target everyuser in the game? - by NewerthRoleplay - 03.05.2012, 18:20
Re: How to target everyuser in the game? - by antonio112 - 03.05.2012, 18:22
Re: How to target everyuser in the game? - by Mauzen - 03.05.2012, 18:24
Re: How to target everyuser in the game? - by Marricio - 03.05.2012, 18:26
Re: How to target everyuser in the game? - by Mauzen - 05.05.2012, 07:41
Re: How to target everyuser in the game? - by NewerthRoleplay - 07.05.2012, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)