onPlayerConnect help
#7

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 );
}
Reply


Messages In This Thread
onPlayerConnect help - by PrinXe - 15.12.2014, 11:56
Re: onPlayerConnect help - by Threshold - 15.12.2014, 12:18
Re: onPlayerConnect help - by PrinXe - 15.12.2014, 16:18
Re: onPlayerConnect help - by PrinXe - 15.12.2014, 16:36
Re: onPlayerConnect help - by danish007 - 15.12.2014, 16:49
Re: onPlayerConnect help - by PrinXe - 15.12.2014, 16:57
Re: onPlayerConnect help - by FunnyBear - 15.12.2014, 17:03
Re: onPlayerConnect help - by Raweresh - 15.12.2014, 17:51
Re: onPlayerConnect help - by danish007 - 15.12.2014, 19:15
Re: onPlayerConnect help - by PrinXe - 16.12.2014, 05:04

Forum Jump:


Users browsing this thread: 3 Guest(s)