29.10.2014, 17:24
I added some code onto an animation script, but I get these errors :
Код:
else if (listitem == 19) { ApplyAnimation(playerid, "MISC", "bitchslap", 4.0,0,0,0,0,0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Bitch Slap'."); } else if (listitem == 20) { ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1,500); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Gun Arrest'."); } else if (listitem == 21) { ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0,0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Rapping'." } else if (listitem == 22) { ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 1,500); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Threat'." } else if (listitem == 23) { ApplyAnimation(playerid, "PAULNMAC", "wank_loop", 4.0, 1, 0, 0, 1, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Wank'." } else if (listitem == 24) { ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Ass Slap'." } else if (listitem == 25) { ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.0, 0, 0, 0, 1, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Dead'." } else if (listitem == 26) { ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Deal'." } else if (listitem == 27) { ApplyAnimation(playerid, "MEDIC","CPR",4.1,0,0,0,0,0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'CPR'." } else if (listitem == 28) { ApplyAnimation(playerid, "benchpress","gym_bp_celebrate",4.1,0,1,1,1,1); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Bench Press'." } else if (listitem == 29) { ApplyAnimation(playerid, "GHANDS","gsign2LH", 4.1,0,1,1,1,1); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Gang Sign'." } else if (listitem == 30) { ApplyAnimation(playerid, "RIOT","RIOT_CHANT", 4.0, 1, 0, 0, 0, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Chant'." } else if (listitem == 31) { ApplyAnimation(playerid, "KISSING","Grlfrd_Kiss_02", 4.0,0,0,0,0,0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Kiss'." } else if (listitem == 32) { ApplyAnimation(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0); SendClientMessage2(playerid, COLOR_WHITE, "ACTION: Applied animation 'Gun Reload'." } return 1; }