Problemo "switch"
#1

pawn Код:
switch(gTeam[playerid])
    {
        case TEAM_MAFIA:
        {
            SetPlayerPos(playerid,2297.2202,2427.5864,10.8203);
            SetPlayerFacingAngle(playerid,135.7317);
            SetCameraBehindPlayer(playerid);
            switch(GetPlayerSkin(playerid))
            {
                case 280:
                {
                    SendClientMessage(playerid,COLOR_GREEN,"Hey");
                }
                case 281:
                {
                    SendClientMessage(playerid,COLOR_GREEN,"Hey Yo");
                }
                case 282:
                {
                    SendClientMessage(playerid,COLOR_GREEN,"Hey Yo All");
                }
            }
        }
    }
Ok so when i pick one of those SKIN IDs i spawn at the random place in LV where you spawn when have like an empty script.
And none of those messages show.
What the problem might be?
Reply


Messages In This Thread
Problemo "switch" - by [rG]Cold - 09.01.2013, 10:00
Re: Problemo "switch" - by DaRk_RaiN - 09.01.2013, 10:06
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 10:25
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 10:44
Re: Problemo "switch" - by Konstantinos - 09.01.2013, 10:46
Re: Problemo "switch" - by [rG]Cold - 09.01.2013, 11:08

Forum Jump:


Users browsing this thread: 3 Guest(s)