12.01.2017, 21:37
Код:
forward UpdatePatente(playerid); public UpdatePatente(playerid) { new Score = GetPlayerScore(playerid); if(Score >= 0 && Score < 25) TextDrawSetString(PatenteDraw[playerid], "~p~Civil"); else if(25 < Score < 50) TextDrawSetString(PatenteDraw[playerid], "~p~Sobrevivente"); else if(50 < Score < 75) TextDrawSetString(PatenteDraw[playerid], "~p~Bandido"); else if(75 < Score < 100) TextDrawSetString(PatenteDraw[playerid], "~p~Assassino"); else if(100 < Score < 125) TextDrawSetString(PatenteDraw[playerid], "~p~Terrorista"); else if(125 < Score < 150) TextDrawSetString(PatenteDraw[playerid], "~p~Maniaco"); else if(150 < Score < 175) TextDrawSetString(PatenteDraw[playerid], "~p~Psicopata"); else if(175 < Score < 200) TextDrawSetString(PatenteDraw[playerid], "~p~Serial Killer"); else if(Score > 250) TextDrawSetString(PatenteDraw[playerid], "~p~Chefao"); return 1; }