SendRconCommand!
#7

pawn Код:
CMD:say(playerid, params[])
{  
    if(!PlayerInfo[playerid][pAdmin]) return 0;
    if(params[0] == '\0') return SendClientMessage(playerid, 0xFF0000FF, "Usage: /say [text]");
    new str[135];
    format(str, sizeof(str), "say %s", params);
    SendRconCommand(str);
    return 1;
}
Still don't need sscanf.
Reply


Messages In This Thread
SendRconCommand! - by Juvanii - 29.06.2014, 20:21
Re : SendRconCommand! - by Clad - 29.06.2014, 20:32
Re: SendRconCommand! - by -=Dar[K]Lord=- - 29.06.2014, 20:35
Re: SendRconCommand! - by Juvanii - 29.06.2014, 20:49
Re: SendRconCommand! - by Threshold - 30.06.2014, 00:44
Re: SendRconCommand! - by Juvanii - 30.06.2014, 01:06
Re: SendRconCommand! - by Threshold - 30.06.2014, 04:24

Forum Jump:


Users browsing this thread: 4 Guest(s)