14.06.2012, 06:00
Код:
#include <a_samp> #define SPECIAL_ACTION_PISSING 68 #define COLOR_WHITE 0xFFFFFFFF #define COLOR_YELLOW 0xFFFF00AA public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Editted "); print(" Editted "); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { print("\n----------------------------------"); print(" Anims Unloading "); print(" "); print("----------------------------------\n"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/animlist", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid,2006,DIALOG_STYLE_LIST,"AnimList","/relax\n | /scared\n | /sick\n | /wave\n | /spank\n | /taichi\n | /crossarms\n |/wank\n | /kiss\n | /talk\n | /fucku\n | /cocaine\n | /rocky\n | /sit\n | /smoke\n | /beach\n | /lookout\n | /circle\n | /medic\n | /chat\n | /die\n | /slapa\n | /rofl\n | /glitched\n | /fakefire\n | /bomb\n | /robman\n | /handsup\n | /piss\n | /laydown\n","Select","Exit"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid==2006 && response==1) { switch(listitem) { case 0: { ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); } case 1: if (GetPlayerState(playerid)== 1) { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP); } case 2: { ApplyAnimation(playerid,"BASEBALL","Bat_2",4.0,0,1,1,1,0); } case 3: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); } case 4: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600); } case 5: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600); } case 6: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0); } case 7: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); } case 8: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); } case 9: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); } case 10: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); } case 11: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","IDLE_CHAT",1.800001, 1, 1, 1, 1, 13000); } case 12: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"KISSING", "Grlfrd_Kiss_02", 1.800001, 1, 0, 0, 1, 600); } case 13: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"INT_OFFICE", "OFF_Sit_Bored_Loop", 1.800001, 1, 0, 0, 1, 600); } case 14: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"ped", "fucku", 4.1, 0, 1, 1, 1, 1 ); } case 15: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"CRACK", "crckdeth2", 1.800001, 1, 0, 0, 1, 600); } case 16: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"GYMNASIUM", "GYMshadowbox", 1.800001, 1, 0, 0, 1, 600); } case 17: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0); } case 18: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1); } case 19: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"ON_LOOKERS","lkup_in",4.1,0,1,1,1,1); } case 20: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_2",4.1,0,1,1,1,1); } case 21: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1); } case 22: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1); } case 23: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","BIKE_fallR",4.1,0,1,1,1,1); } case 24: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1,0,1,1,1,1); } case 25: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1); } case 26: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_O",4.1,0,1,1,1,1); } case 27: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"SILENCED","SilenceCrouchfire",4.1,0,1,1,1,1); } case 28: { if (GetPlayerState(playerid)== 1) { PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0); } case 29: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH! PlayerPlaySound(playerid, 1169, 0.0, 0.0, 0.0); } case 30: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1); } case 31: { if (GetPlayerState(playerid)== 1) { ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1); } case 32: { if (GetPlayerState(playerid)== 1) { SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING); } case 33: { ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down } return 1; } return 0; }
Help me to remove it
Код:
C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(29) : warning 217: loose indentation C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(60) : error 014: invalid statement; not in switch C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(60) : warning 215: expression has no effect C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(60) : error 001: expected token: ";", but found ":" C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(60) : error 029: invalid expression, assumed zero C:\Documents and Settings\Mostwanted\My Documents\Downloads\samp03e_svr_win32\filterscripts\lolypop.pwn(60) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
so, i can remove these errors