31.01.2011, 22:56
Who does this not work?
pawn Код:
SetPlayerTeamFromClass(playerid, classid)
{
new Score = GetPlayerScore(playerid);
if(classid == 0 || classid == 1 || classid == 2 || classid == 3 || classid == 4)
{
if(Score < 11) return GameTextForPlayer(playerid, "~b~You need atleast~n~~g~10 ~b~score to join this skill", 3000, 5);
{
gTeam[playerid] = TEAM_DONUTSTEALRT;
return 1;
}
}
return 0;
}