 |
|
Veteran Member
Join Date: Jul 2014
Location: Serbia
|

01-24-2017
, 18:02
Re: Colorchat
|
#9
|
Quote:
Originally Posted by Kellan123
try this man
PHP Code:
new szName[32];
get_user_name(id, szName, charsmax(szName));
ColorChat(id, GREEN, "^x01[^x04AMXX^x01] You used the command.");
new szPlayers[32], num;
get_players(szPlayers, num);
// id is the client who used the command !
for ( new i = 1, i; i < num; i++ )
{
new player = szPlayers[i];
if ( player != id ) ColorChat(player, GREEN, "^x01[^x04AMXX^x01]^x04 %s^x01 used command.", szName);
}
or if you want only all players then use only
ColorChat(0, GREEN, "^x01[^x04AMXX^x01] message.");
|
Why complicate things?!
|
|
|
|