[Ajuda] Comando /enviartutorial
#4

pawn Код:
public TutorialStateEight(playerid)
{
    ClearScreen(playerid);
    SendClientMessage(playerid, COLOR_YELLOW, "______________________________________|- Fim -|___________________________________________");
    SendClientMessage(playerid, COLOR_WHITE, "                                                                                           ");
    SendClientMessage(playerid, COLOR_WHITE, "  - ");
    SendClientMessage(playerid, COLOR_WHITE,  "  - Fim do tutorial");
    SendClientMessage(playerid, COLOR_WHITE, "                                                                                           ");
    SendClientMessage(playerid, COLOR_WHITE, "                                           Esperamos que voce se divirta ;)          ");
    SendClientMessage(playerid, COLOR_YELLOW, "__________________________________________________________________________________________");
    TextDrawHideForPlayer(playerid, topblack);
    TextDrawHideForPlayer(playerid, bottomblack);
    TogglePlayerControllable(playerid, true);
    if(PlayerInfo[playerid][pTut] == 1) return SpawnPlayer(playerid),1;
    PlayerInfo[playerid][pTut] = 1;
    if(PlayerInfo[playerid][pHvida] == 1)
    {
        if(PlayerInfo[playerid][pSex] == 1)
        {
        SetPlayerSkin(playerid, 188);
        PlayerInfo[playerid][pSkin] = 188;
        }
        if(PlayerInfo[playerid][pSex] == 2)
        {
        SetPlayerSkin(playerid, 13);
        PlayerInfo[playerid][pSkin] = 13;
        }
    PlayerInfo[playerid][pMissaoNewbie] = 1;
    PlayerInfo[playerid][pBuLic] = 1;
    SpawnPlayer(playerid);
    }
    else if(PlayerInfo[playerid][pHvida] == 2)
    {
        if(PlayerInfo[playerid][pSex] == 1)
        {
        SetPlayerSkin(playerid, 133);
        PlayerInfo[playerid][pSkin] = 133;
        }
        if(PlayerInfo[playerid][pSex] == 2)
        {
        SetPlayerSkin(playerid, 225);
        PlayerInfo[playerid][pSkin] = 225;
        }
    PlayerInfo[playerid][pMissaoNewbie] = 2;
    PlayerInfo[playerid][pBuLic] = 0;
    SpawnPlayer(playerid);
    SetPlayerHealth(playerid, 30);
    ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.0, 0, 0, 0, 0, 0);
    }
    else if(PlayerInfo[playerid][pHvida] == 3)
    {
        if(PlayerInfo[playerid][pSex] == 1)
        {
        SetPlayerSkin(playerid, 188);
        PlayerInfo[playerid][pSkin] = 188;
        }
        if(PlayerInfo[playerid][pSex] == 2)
        {
        SetPlayerSkin(playerid, 226);
        PlayerInfo[playerid][pSkin] = 226;
        }
    PlayerInfo[playerid][pMissaoNewbie] = 3;
    PlayerInfo[playerid][pBiLic] = 1;
    PlayerInfo[playerid][pBuLic] = 1;
    SpawnPlayer(playerid);
    }
}
Tenta
Reply


Messages In This Thread
[Ajuda] Comando /enviartutorial - by Slayer1 - 21.11.2011, 19:41
Re: [Ajuda] Comando /enviartutorial - by arakuta - 21.11.2011, 20:00
Re: [Ajuda] Comando /enviartutorial - by Slayer1 - 21.11.2011, 20:21
Re: [Ajuda] Comando /enviartutorial - by Pharrel - 21.11.2011, 20:28
Re: [Ajuda] Comando /enviartutorial - by Slayer1 - 21.11.2011, 20:51
Re: [Ajuda] Comando /enviartutorial - by Slayer1 - 21.11.2011, 21:47
Re: [Ajuda] Comando /enviartutorial - by Pharrel - 21.11.2011, 21:57
Re: [Ajuda] Comando /enviartutorial - by arakuta - 21.11.2011, 22:01
Re: [Ajuda] Comando /enviartutorial - by Slayer1 - 22.11.2011, 18:08
Re: [Ajuda] Comando /enviartutorial - by Pharrel - 22.11.2011, 18:22

Forum Jump:


Users browsing this thread: 3 Guest(s)