07.12.2013, 16:08
pawn Код:
enum pDados
{
pNivelAdm,
bool:pTrabalho,
pDinheiro,
pPontos
}
new ArrayDados[MAX_PLAYERS][pDados];
pawn Код:
public OnPlayerConnect(playerid)
{
if(ArrayDados[playerid][pNivelAdm] > 0)
{
new name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "O Admin %s acabou de se conectar!!!", name);
SendClientMessageToAll(COR_AZUL, string);
}
return 1;
}