server password
#1

How does the password after I had an opportunity to register a password I want while I'm on the server?

PHP код:
if(strcmp("/Password",cmdtext,true) == || strcmp("/Pass",cmdtext,true) == 0)
      {
          if(!
IsPlayerAdmin(playerid) && Ad[playerid][Level] < 20) return SendClientMessage(playerid,0xff0000ff,"тм оръ мбцт фчегд же тмйк мдйеъ агойп бшод 20");
          new 
string[256];
          
SendRconCommand("password");
          
format(string,256,"ртм аъ дщшъ %s ордм дщшъ",GetName(playerid));
          
SendClientMessageToAll(0xff9900ff,string);
          
SendClientMessage(playerid,0xff9900ff,"ртмъ аъ дщшъ");
        return 
1;
    } 
Tnx Alot For Whos Helped!
Reply
#2

The parameters of the password command need to go in here
Quote:

SendRconCommand("password");

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)