Help me get password
#8

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Yes its simple

Add this somewhere in your script

PHP код:
SendMessageToAdmins(colormessage[])
{
    for (new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if (
PlayerInfo[i][AdminLevel] >= 5SendClientMessage(icolormessage);//You can change admin system or variable with your admin system
        
}
    }

then use this code at your dialog login if player logged in successfully

PHP код:
new playername[64];
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
format(stringsizeof(string), "Player %s(%ID), has logged in the server with password: %s"playernameinputtext);
SendMessageToAdmins(COLOR_WHITEstring); 
the password is not active when I test his password to log into the games not lit.
Reply


Messages In This Thread
Help me get password - by gogo45 - 12.11.2016, 04:10
Re: Help me get password - by IceBilizard - 12.11.2016, 04:30
Re: Help me get password - by gogo45 - 12.11.2016, 04:43
Re: Help me get password - by IceBilizard - 12.11.2016, 04:54
Re: Help me get password - by X337 - 12.11.2016, 04:57
Re: Help me get password - by SyS - 12.11.2016, 05:28
Re: Help me get password - by Threshold - 12.11.2016, 05:48
Re: Help me get password - by gogo45 - 12.11.2016, 05:52
Re: Help me get password - by Micko123 - 12.11.2016, 06:53
Re: Help me get password - by gogo45 - 12.11.2016, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)