Editing Server RCON?
#6

Quote:
Originally Posted by pds2012
Посмотреть сообщение
cool but, is this copy paste? i edited it and remove something so it would work without any compiling errors try this

pawn Код:
CMD:server(playerid, params[])
{
    new
        string[128]
    ;
    if(IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be Rcon Login to use this command");
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, -1, "USAGE: /achat [text]");
    if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "*SERVER: %s *", params);
    SendClientMessageToAll(-1, string);
    return 1;
}
it works perfect for me and has 0 errors or warnings during compiling,
its from my own script,..
you just removed the line to check if the player is online
Reply


Messages In This Thread
Editing Server RCON? - by geohareas - 13.02.2013, 18:14
Re: Editing Server RCON? - by Patrick - 13.02.2013, 18:15
Re: Editing Server RCON? - by [MG]Dimi - 13.02.2013, 18:16
Re: Editing Server RCON? - by Smikkeltoetje - 13.02.2013, 18:18
Re: Editing Server RCON? - by Patrick - 13.02.2013, 18:24
Re: Editing Server RCON? - by Smikkeltoetje - 13.02.2013, 18:29
Re: Editing Server RCON? - by geohareas - 13.02.2013, 18:38
Re: Editing Server RCON? - by ZayanImran - 13.02.2013, 18:44
Re: Editing Server RCON? - by Smikkeltoetje - 13.02.2013, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)