02.04.2013, 11:55
#define DIALOG_CLASS 4
if(gTeam[playerid] == DUELERS) {
SetPlayerColor(playerid, COLOR_BLUE);
SetPlayerTeam(playerid,DUELERS);
GameTextForPlayer(playerid,"Welcome to DUELERS",6000,5);
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose your class", "Soldier\nSniper\nEngineer\nScout\nPilot.", "Ok", "Cancel");
return 1;
I wana do that when people choose 1 of these classes Soldier\Sniper\Engineer\Scout\Pilot they will have different weapons .
if(gTeam[playerid] == DUELERS) {
SetPlayerColor(playerid, COLOR_BLUE);
SetPlayerTeam(playerid,DUELERS);
GameTextForPlayer(playerid,"Welcome to DUELERS",6000,5);
ShowPlayerDialog(playerid, DIALOG_CLASS, DIALOG_STYLE_LIST, "Choose your class", "Soldier\nSniper\nEngineer\nScout\nPilot.", "Ok", "Cancel");
return 1;
I wana do that when people choose 1 of these classes Soldier\Sniper\Engineer\Scout\Pilot they will have different weapons .