Thread: [Ajuda] Animes
View Single Post
Old 03/09/2012, 06:50 PM   #1
Rijin
Big Clucker
 
Join Date: Aug 2012
Posts: 114
Reputation: 1
Default Animes

Olá!
Então, eu estou tentando criar animes em DIALOG_STYLE_LIST, mas os códigos estão dando erros. (Eu peguei do gl_actions)

pawn Code:
if(dialogid == DIALOG_ANIMES)
    {
        if(response)
        {
            switch(listitem)
            {
                case 0:
                {
                    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
                }
                case 1:
                {
                    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
                }
                case 2:
                {
                    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
                }
                case 3:
                {
                    LoopingAnim(playerid,"PED","WALK_DRUNK",4.0,1,1,1,1,0);
                }
                case 4:
                {
                    ClearAnimations(playerid); OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
                }
                case 5:
                {
                    LoopingAnim(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
                }
                case 6:
                {
                    OnePlayAnim(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
                }
                case 7:
                {
                    OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
                }
                case 8:
                {
                    LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
                }
                case 9:
                {
                    LoopingAnim(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
                }
                case 10:
                {
                    LoopingAnim(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
                }
                case 11:
                {
                    OnePlayAnim(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
                }
                case 12:
                {
                    OnePlayAnim(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
                }
                case 13:
                {
                    LoopingAnim(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
                }
                case 14:
                {
                    OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
                }
                case 15:
                {
                    LoopingAnim(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
                }
                case 16:
                {
                    LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
                }
                case 17:
                {
                    LoopingAnim(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
                }
            }
        }
    }
    return 1;
}

Está dando os seguintes erros:
pawn Code:
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(739) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(743) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(747) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(751) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(755) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(759) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(763) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(767) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(771) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(775) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(779) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(783) : error 017: undefined symbol "OnePlayAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(787) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(791) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(795) : error 017: undefined symbol "LoopingAnim"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(950) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


15 Errors.
Rijin is offline   Reply With Quote