15.12.2014, 17:03
Replace that piece of code with this,
pawn Код:
if(PlayerInfo[playerid][Level] >= 1)
{
new messtring[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(messtring, sizeof(messtring), "~w~]Administrator] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server",pName, playerid);
return GameTextForAll(messtring, 5000, 3 );
}
if(PlayerInfo[playerid][Level] >= 5)
{
new messtring[128], pName1[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName1,MAX_PLAYER_NAME);
format(messtring, sizeof(messtring), "~w~]Server CO-OWNER] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server", pName1, playerid);
return GameTextForAll(messtring, 5000, 3 );
}
if(PlayerInfo[playerid][Level] >= 6)
{
new messtring[128], pName2[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName2,MAX_PLAYER_NAME)
format(messtring, sizeof(messtring), "~w~]Server OWNER] ~b~ %s(%d) ~w~has ~r~Joined ~w~Server",pName2, playerid);
return GameTextForAll(messtring, 5000, 3 );
}