10.05.2013, 11:33
Hey.
So, i want skill/job choosing dialog to appear only for Civilians.
But..
I tried this. :
It didn't work, it doesn't show dialogs at all.
But if i put if(gTeam[playerid] == TEAM_COPS) instead it shows dialog for both teams.
But i only want dialog to appear for civilians
So, i want skill/job choosing dialog to appear only for Civilians.
But..
I tried this. :
Quote:
public OnPlayerSpawn(playerid) { if(gTeam[playerid] == TEAM_CIVI) ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Please choose a job/skill.", "Trucker\nThief\nRapist", "Done", ""); return 1; } |
But if i put if(gTeam[playerid] == TEAM_COPS) instead it shows dialog for both teams.
But i only want dialog to appear for civilians