03.03.2013, 20:38
Hello, i have an Question how to make that you can only choose 1 Class per Round/Map? Because now you have 50 Seconds Time to change your Class:
Код:
CMD:class(playerid,params[])
{
if(team[playerid] == TEAM_HUMAN)
{
if(time >= 100)
{
ShowPlayerDialog(playerid,DIALOG_CLASS,DIALOG_STYLE_LIST,"{99FFFF}Class Selection","{24BF00}Human Classes\n{FF0000}Zombie Classes\n","Select","Close");
}
else return SendClientMessage(playerid,-1,""chat""COL_YELLOW" 50 Seconds have passed, you cant select an Class anymore!");
}
else return ShowPlayerDialog(playerid,DIALOG_CLASS,DIALOG_STYLE_LIST,"{99FFFF}Class Selection","{24BF00}Human Classes\n{FF0000}Zombie Classes\n","Select","Close");
return 1;
}

