Rcon Login via SendRconCommand
#4

Quote:
Originally Posted by rjjj
Посмотреть сообщение
Yeah, it is possible

i did a code that do this, here:

pawn Код:
public OnPlayerRequestClass(playerid)//Or OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    if(strcmp(name,"Infamous",true)==0)
    {
        SendRconCommand("login password");//Change "password" for your Rcon Password :)
    }
    return 1;
}
I hope that i have helped
Thanks for your help mate.

Quote:
Originally Posted by selten98
Посмотреть сообщение
so if i would connect with ur nick 0.0 i would automaticaly rcon login infamous?

(make it on login :P less abusive)
LOL, good point pal.
Reply


Messages In This Thread
Rcon Login via SendRconCommand - by Infamous - 19.02.2011, 22:26
Re: Rcon Login via SendRconCommand - by rjjj - 19.02.2011, 22:56
Re: Rcon Login via SendRconCommand - by selten98 - 19.02.2011, 23:05
Re: Rcon Login via SendRconCommand - by Infamous - 19.02.2011, 23:06
Re: Rcon Login via SendRconCommand - by selten98 - 19.02.2011, 23:07
AW: Rcon Login via SendRconCommand - by Nero_3D - 19.02.2011, 23:54
Re: Rcon Login via SendRconCommand - by Infamous - 20.02.2011, 00:25
Re: Rcon Login via SendRconCommand - by selten98 - 20.02.2011, 08:23
Re: Rcon Login via SendRconCommand - by alpha500delta - 20.02.2011, 08:58
Re: Rcon Login via SendRconCommand - by justsomeguy - 20.02.2011, 11:36

Forum Jump:


Users browsing this thread: 1 Guest(s)