View Single Post
crnova
Senior Member
Join Date: Sep 2015
Old 06-12-2016 , 15:06   Re: Stock to print only in Admin Chat
Reply With Quote #4

Code:
for (new i = 0; i < count; i++) {         message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);         write_byte(players[i]);         write_string(msg);         message_end(); }

->

Code:
for (new i = 0; i < count; i++) {         if( is_user_admin(id) )         {                 message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);                 write_byte(players[i]);                 write_string(msg);                 message_end();         } }
__________________
crnova is offline