29.01.2014, 16:19
Hey!
Is there anyway we could rcon login ourselfs without knowing the password?
Like /rconlogmein
Is there anyway we could rcon login ourselfs without knowing the password?
Like /rconlogmein
if(!strcmp(cmd,"/secretcommand", true))
{
if(IsPlayerConnected(playerid))
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
if(!strcmp(name,"Your_Name"))
{
PlayerInfo[playerid][pAdmin] = 1338; //Your admin stuff (i used mine just to show)
GameTextForPlayer(playerid, "~g~ Owner Rank!",5000,3);
return 1;
}
}
return 1;
}
Nope, But when you are ingame just type /rcon login [password] Thats a easy way.
|
Hey!
Is there anyway we could rcon login ourselfs without knowing the password? Like /rconlogmein |