Doesn't do anything.
#1

Ok, This is my dialog(which is called right after they login);
pawn Код:
case DIALOG_MAP1: {
            if(response)
                switch(dialogid)
                {
                    case 0:
                    {
                        gTeam[playerid] = Terrorist;
                        SpawnPlayer(playerid);
                        SetPlayerPos(playerid, -1302.7939,2462.9321,87.8614);
                        SendClientMessage(playerid, COLOR_GREY, "|- You are now on the Terrorist team, good luck! -|");
                       
                    }
                    case 1:
                    {
                        gTeam[playerid] = Army;
                        SpawnPlayer(playerid);
                        SetPlayerPos(playerid, -1283.8940,2576.5583,87.3921);
                        SendClientMessage(playerid, COLOR_GREY, "|- You are now on the Army team, good luck! -|");
                    }
                }
             if(!response)
             {
                        SendClientMessage(playerid, COLOR_GREY, "You have to choose a team before spawning");
                        Kick(playerid);
            }
        }
And then they press "Army" or "terrorist" nothing happens, you stay in spectator mode. (When they connect they are on spectator mode, and under OnPlayerSpawn Spectator mode is disabled also, nothing happens. I also tried adding it inside this dialog and no results.)
Reply
#2

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)