[AJUDA]Nгo Spawna?
#1

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Escolha","{00FF00}Humano\r\n{FF0000}Zombie\r\n","Escolher", "Kick");
    return 1;
}
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

if(dialogid == 1)
       {
           if(response)
           {
                    if(listitem == 0)//numero 1 da lista
                    {
                    if(Equipes[playerid] == 1)
                    {
                    SpawnPlayer(playerid);
                    Equipes[playerid] = 1;
                    SetPlayerSkin(playerid, 14);
                    SendClientMessage(playerid, 0xFFFFFFFF, "Vocк Escolheu Ser Humano!");

               }
              }
           }
        }
return 1;
}
O Problema й que o player nao spawna
Reply


Messages In This Thread
[AJUDA]Nгo Spawna? - by Jake_Dunlapp - 19.05.2012, 16:28
Re: [AJUDA]Nгo Spawna? - by Bruno Pereira - 19.05.2012, 16:36
Re: [AJUDA]Nгo Spawna? - by Jake_Dunlapp - 19.05.2012, 16:39
Re: [AJUDA]Nгo Spawna? - by @Riichard - 19.05.2012, 16:42
Re: [AJUDA]Nгo Spawna? - by zbt - 19.05.2012, 16:46
Re: [AJUDA]Nгo Spawna? - by Bruno Pereira - 19.05.2012, 16:47
Re: [AJUDA]Nгo Spawna? - by Jake_Dunlapp - 19.05.2012, 16:48
Re: [AJUDA]Nгo Spawna? - by BreakDriFT - 19.05.2012, 16:49
Re: [AJUDA]Nгo Spawna? - by zbt - 19.05.2012, 16:50
Re: [AJUDA]Nгo Spawna? - by Jake_Dunlapp - 19.05.2012, 17:00

Forum Jump:


Users browsing this thread: 3 Guest(s)