Scripting error - "Expected token "," but found "}"
#4

PHP код:
else if (listitem == 19) {
                
ApplyAnimation(playerid"MISC""bitchslap"4.0,0,0,0,0,0);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Bitch Slap'.");
            };
            else if (
listitem == 20) {
                
ApplyAnimation(playerid"ped""ARRESTgun"4.00111,500);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Gun Arrest'.");
            };
            else if (
listitem == 21) {
                
ApplyAnimation(playerid"RAPPING""Laugh_01"4.00000,0);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Rapping'."
                
};
            else if (
listitem == 22) {
                
ApplyAnimation(playerid"SHOP""ROB_Loop_Threat"4.00001,500);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Threat'."
                
};
            else if (
listitem == 23) {
                
ApplyAnimation(playerid"PAULNMAC""wank_loop"4.010010);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Wank'."
                
};
            else if (
listitem == 24) {
                
ApplyAnimation(playerid"SWEET""sweet_ass_slap"4.000000);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Ass Slap'."
                
};
            else if (
listitem == 25) {
                
ApplyAnimation(playerid"WUZI""CS_Dead_Guy"4.000010);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Dead'."
                
};
            else if (
listitem == 26) {
                
ApplyAnimation(playerid"DEALER""DEALER_DEAL"4.000000);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Deal'."
                
};
            else if (
listitem == 27) {
                
ApplyAnimation(playerid"MEDIC","CPR",4.1,0,0,0,0,0);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'CPR'."
                
};
            else if (
listitem == 28) {
                
ApplyAnimation(playerid"benchpress","gym_bp_celebrate",4.1,0,1,1,1,1);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Bench Press'."
                
};
            else if (
listitem == 29) {
                
ApplyAnimation(playerid"GHANDS","gsign2LH"4.1,0,1,1,1,1);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Gang Sign'."
                
};
            else if (
listitem == 30) {
                
ApplyAnimation(playerid"RIOT","RIOT_CHANT"4.010000);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Chant'."
                
};
            else if (
listitem == 31) {
                
ApplyAnimation(playerid"KISSING","Grlfrd_Kiss_02"4.0,0,0,0,0,0);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Kiss'."
                
};
            else if (
listitem == 32) {
                
ApplyAnimation(playerid"SILENCED""Silence_reload"3.000000);
                
SendClientMessage2(playeridCOLOR_WHITE"ACTION: Applied animation 'Gun Reload'."
        
};
        return 
1;
    } 
Reply


Messages In This Thread
Scripting error - "Expected token "," but found "}" - by JeffDiamond - 29.10.2014, 17:24
Re: Scripting error - "Expected token "," but found "}" - by M4D - 29.10.2014, 17:30
Re: Scripting error - "Expected token "," but found "}" - by DanishHaq - 29.10.2014, 17:36
Re: Scripting error - "Expected token "," but found "}" - by Glossy42O - 29.10.2014, 17:41
Re: Scripting error - "Expected token "," but found "}" - by JeffDiamond - 29.10.2014, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)