10.07.2011, 12:10
Код:
else if(classid == 9) { SendClientMessage(playerid,0xFFFFFF96, "Vagos-Lightweight Class"); SendClientMessage(playerid,0xFFFFFF96, "Vagos-Lightweight Class includes Cane-Tec9-9mm"); GameTextForPlayer(playerid,"~b~Vagos-Lightweight",3000,4); if (GetPlayerScore(playerid) < 20) { SendClientMessage(playerid,0xFFFFFF96, "You need 20 Score For this class"); ForceClassSelection(playerid); } else { gTeam[playerid] = TEAM_VAGOS; SetPlayerTeam(playerid,TEAM_VAGOS); SetPlayerColor(playerid, 0x00FFFBFF); } }