Thread: [ANY] Get Cmds
View Single Post
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 03-10-2016 , 11:47  
Reply With Quote #4

Quote:
Originally Posted by 3V0Lu710N View Post
This only happens when you run the command from the server console or use rcon, try using the command in game, should work
Maybe in this case it makes sense to add these lines ?
PHP Code:
    if(!client)
    {
        
ReplyToCommand(client"[SM] %t""Command is in-game only");
        return 
Plugin_Handled;
    } 
in
PHP Code:
public Action Get_Cmds(clientargs
and
PHP Code:
    LoadTranslations("common.phrases"); 
in
PHP Code:
public void OnPluginStart() 
__________________

Last edited by Grey83; 03-10-2016 at 11:50.
Grey83 is offline