29.07.2012, 03:07
Can anyone teach me how to disable the dialog for zombies only?
I hate that!
here is the pawno code:
I hate that!
here is the pawno code:
PHP код:
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your weapons to spawn", "AK47\nM4A1\nDeagle\nUZI", "Use", "Cancel");
SetPlayerToTeamColour(playerid);
if(gTeam[playerid] == TEAM_ZOMBIE)
SCM(playerid, COLOR_YELLOW, "You are spawned as Zombie, use /bite to loose the human's hp!");
return 1;
}