04.08.2013, 09:24
pawn Код:
public OnPlayerSpawn(playerid)
{
{
ShowPlayerDialog(playerid, DIALOG_CLASSELECT, DIALOG_STYLE_LIST, "Class Selection", "{00C0FF}Soldier\n{00C0FF}Sniper\n{00C0FF}Engineer\n{00C0FF}JetTrooper\n{00C0FF}Pilot\n{00C0FF}Spy\n{00C0FF}Ranger\n{00C0FF}Elite Ranger", "Select", "Close");
return 1;
}
//==========================Rank System Implented===============================
{
if(GetPlayerScore(playerid) >= 0 && GetPlayerScore(playerid) < 150) //Line 198 Unreachable Code
{
SendClientMessage(playerid, COLOR_CRIMSON, "You are Current a Under Trainning Cadet and you Spawn with 75 HP ");
SendClientMessage(playerid, COLOR_GREY, "[SERVER] {FFFFFF}Type /ranks for more information");
}
return 1;
}
}