Easy answer (rcon help)
#1

how do I change a colour and the name of /rcon say, I mean if you type /rcon say blablabla it'll say:
Admin: blablabla

how do I change the name so it'll say like:

Server Administrator with the different colour, where do I change it?
Reply
#2

pawn Код:
public OnRconCommand(cmd[])
{
    if(strcmp(cmd, "say2", true))
    {
        //edite how you like
    }
    return 1;
}
Reply
#3

Hey,
{
if(strcmp(cmd, "say2", true))
{
//edite how you like
}
return 1;
}

"//edite how you like" what should I type here? please help me
Reply
#4

Help me please thanks
Reply
#5

Please, someone?
Reply
#6

Like 'Administrator says:.... or Owners say, something like that.
Reply
#7

like this

pawn Код:
#include <a_samp>
#include <sscanf2>

public OnRconCommand(cmd[])
{
    if(strcmp(cmd,"yourcommand") == 0) //-> /rcon yourcommand
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            new text[50],string[200],pname[24];
            if(sscanf(cmd,"s[50]",text)) return SendClientMessage(i,-1,"USAGE: /rcon yourcommand [text]");
            GetPlayerName(i,pname,sizeof(pname));
            format(string,sizeof(string),"Rcon admin %s say: %s",pname,text);
            SendClientMessageToAll(-1,string);
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)