19.03.2014, 17:36
Alguйm me ajuda? jб tentei de outras formas e nada...
//OnPlayerConnect
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new padmin[64], padminnick[MAX_PLAYER_NAME];
GetPlayerName(playerid, padmnick, sizeof(padmnick));
format(padmin, sizeof(padmin), "O Admin %s entrou no servidor", padminnick);
SendClientMessageToAll(0xFF00FFFF, padmin);
}
//Em OnPlayerDisconnect coloque o oposto da menssagem acima '-'
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new padmin[64], padminnick[MAX_PLAYER_NAME];
GetPlayerName(playerid, padmin "O Admin: %s Cargo: %s entrou no servidor", padminnick, AdminLevelName[APlayerData[playerid][PlayerLevel]]);
SendClientMessageToAll(0xFF00FFFF, padmin);
}