21.03.2014, 18:59
Seu cуdigo nгo faz sentido. Apenas use a Lуgica dos operadores.
PHP код:
if(APlayerData[playerid][PlayerLevel] <= 1)
{
format(NewPlayerMsg, 128, TXT_PlayerJoinedServer, Name, playerid);
SendClientMessageToAll(0xFFFFFFFF, NewPlayerMsg);
}
if(APlayerData[playerid][PlayerLevel] >= 2)
{
format(NewPlayerMsg, 128, TXT_AdminJoinedServer, Name, playerid);
SendClientMessageToAll(0xFFFFFFFF, NewAdminMsg);
}