[Ajuda] Como adicionar mais teleportes?
#1

Tipo nesse code sу da pra colocar 2 opзoes de teleporte, fiquei com medo de adicionar mais um else, oq eu faзo pra por atй 7 opзoes de teleporte?

pawn Code:
if(dialogid == TeleportesZumbi)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetPlayerPos(playerid,Float:x,Float:y,Float:z);
                SendClientMessage(playerid, COLOR_RED, "[ > ] Vocк teletransportou para a Grove Street!");
                return 1;
            }
            else if(listitem == 1)
            {
                SetPlayerPos(playerid,Float:x,Float:y,Float:z);
                SendClientMessage(playerid, COLOR_RED, "[ > ] Vocк se teletransportou para a Estaзгo Unity!");
            }
        }
    }
Reply


Messages In This Thread
Como adicionar mais teleportes? - by eNtinityGaming - 02.02.2014, 04:23
Re: Como adicionar mais teleportes? - by Gii - 02.02.2014, 04:35

Forum Jump:


Users browsing this thread: 1 Guest(s)