02.04.2017, 22:07
PHP код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '#' && PlayerInfo[playerid][Level] >= 1) {
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"| ADM-CHAT |: %s: (%i): %s",string,playerid,text[1]); MessageToAdmins(green,string);
return 0;
}
if(ServerInfo[MustLogin] == 1 && PlayerInfo[playerid][Registered] == 1 && PlayerInfo[playerid][LoggedIn] == 0)
{
SendClientMessage(playerid,red,"Vocк nгo estб logado!");
return 0;
}