06.09.2017, 02:07
this
and this
and this
Код:
forward MessageToAdmins(color,const string[]);
Код:
public MessageToAdmins(color,const string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) if(AccInfo[i][Level] >= 1){ SendClientMessage(i, color, string); } } return 1; }
Код:
PlayerName2(playerid) { new plname[MAX_PLAYER_NAME]; GetPlayerName(playerid, plname, sizeof(plname)); return plname; }