Raised This Month: $ Target: $400
 0% 

Colorchat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-24-2017 , 18:02   Re: Colorchat
Reply With Quote #9

Quote:
Originally Posted by Kellan123 View Post
try this man

PHP Code:
new szName[32];
get_user_name(idszNamecharsmax(szName));

ColorChat(idGREEN"^x01[^x04AMXX^x01] You used the command.");

new 
szPlayers[32], num;
get_players(szPlayersnum);

// id is the client who used the command !

for ( new 1inumi++ )
{
        new 
player szPlayers[i];
        
        if ( 
player != id ColorChat(playerGREEN"^x01[^x04AMXX^x01]^x04 %s^x01 used command."szName);
}


or if 
you want only all players then use only

ColorChat
(0GREEN"^x01[^x04AMXX^x01] message."); 

Why complicate things?!
redivcram is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode