View Single Post
Author Message
msbeden
Member
Join Date: Jan 2020
Location: Turkey, Eskisehir
Old 02-13-2020 , 16:25   How to hide the AMX Console command from "say"?
Reply With Quote #1

Solved with ExecuteHamB(Ham_CS_RoundRespawn, id);

Hello.
I am using server_cmd and client_cmd functions in a plugin. These functions operate amx_revive. But I want it not to appear in "say chat". How can I do it?
I tried as follows, it still shows.

Code:
set_cvar_num("amx_show_activity",0);
server_cmd("amx_revive %s", gamer);
client_cmd(id, "amx_revive %s", gamer);
set_cvar_num("amx_show_activity",2);
I searched the forum a lot and couldn't find it.

Last edited by msbeden; 02-17-2020 at 16:16. Reason: SOLVED
msbeden is offline