OnRconCommand
#1

Hey, i have little problem.
pawn Код:
public OnRconCommand(cmd[])
    {
        if( strcmp(cmd,"wmsg",true,strlen("wmsg") )==0 )
        {
            new
                Owner[20],
                Sprava[100],
                command[20],
                str[128]
            ;
            sscanf(cmd,"s[20] s[20] s[100]",command,Owner,Sprava);
            format(str,128,"%s: %s",Owner,Sprava);
            SendClientMessageToAll(biela,str);
        }
        return 1;
    }
and, when i type eg. "/rcon wmsg Mmartin some aweeesome text here", nothing happens. Any idea?
Reply


Messages In This Thread
OnRconCommand - by Mmartin - 05.04.2011, 07:27
Re: OnRconCommand - by Gamer_Z - 05.04.2011, 08:44
Re: OnRconCommand - by Mmartin - 05.04.2011, 09:01
Re: OnRconCommand - by Gamer_Z - 05.04.2011, 09:11

Forum Jump:


Users browsing this thread: 2 Guest(s)