Disable Dialog For Zombies
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(!gTeam[playerid] == TEAM_ZOMBIE) //or i think its like if(gTeam[playerid] != TEAM_ZOMBIE)
    {
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your weapons to spawn", "AK47\nM4A1\nDeagle\nUZI", "Use", "Cancel");
    }
    if(gTeam[playerid] == TEAM_ZOMBIE)
    {
        SCM(playerid, COLOR_YELLOW, "You are spawned as Zombie, use /bite to loose the human's hp!");
    }
    SetPlayerToTeamColour(playerid);
    return 1;
}
if that doesnt work change
pawn Код:
if(gTeam[playerid] == OTHER_TEAM)
    {
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Choose your weapons to spawn", "AK47\nM4A1\nDeagle\nUZI", "Use", "Cancel");
    }
Reply


Messages In This Thread
Disable Dialog For Zombies - by Deaglez - 29.07.2012, 03:07
Re: Disable Dialog For Zombies - by SnG.Scot_MisCuDI - 29.07.2012, 03:16

Forum Jump:


Users browsing this thread: 1 Guest(s)