server_cmd
Core (amxmodx.inc)
Description
server_cmd - Executes command on a server console
Syntax
server_cmd ( const command[],{Float,_}:... )
Type
Native
Notes
Example:

server_cmd("echo The maxplayers on this server is: %d",get_maxplayers())


Please do not use this function to set cvars, use: set_cvar_string,set_cvar_float,set_cvar_num

User Contributed Notes
rh at pdc dot ru Oct-10-04 14:34:07
Keep in mind that actual execution of command is delayed until last forward function of last plugin is executed or until you call server_exec. For example server_cmd called in plugin_init will be executed after completion of plugin_init of last pluging listed in plugins.ini