[FilterScript] Simple Animations System
#1

Pretty straight forward, some animations. Won't really have to through typing every single animation command as you can read it yourself after "CMD:" in the code. I basically used this in my Los Santos server around a year ago, decided to release it to the sa-mp and eazygamers.co.cc community, enjoy everyone.



Код:
CMD:taxiL(playerid, params[])
	{
		 LoopingAnim(playerid,"PED","IDLE_taxi",4.0,0,1,1,1,0);
         return 1;
    }
CMD:punch(playerid, params[])
	{
		 LoopingAnim(playerid,"MD_CHASE","MD_BIKE_Punch",4.0,0,1,1,1,0);
         return 1;
    }
CMD:greet1(playerid, params[])
	{
		 LoopingAnim(playerid,"WUZI","Wuzi_Greet_Plyr",4.0,0,1,1,1,0);
         return 1;
    }
CMD:greet2(playerid, params[])
	{
		 LoopingAnim(playerid,"WUZI","Wuzi_Greet_Wuzi",4.0,0,1,1,1,0);
         return 1;
    }
CMD:wave(playerid, params[])
	{
		 LoopingAnim(playerid,"BD_FIRE ","BD_GF_Wave",4.0,0,1,1,1,0);
         return 1;
    }
CMD:argue(playerid, params[])
	{
		 LoopingAnim(playerid,"PAULNMAC","PnM_Argue1_A",4.0,0,1,1,1,0);
         return 1;
    }
CMD:sleep(playerid, params[])
	{
		 LoopingAnim(playerid,"INT_HOUSE","BED_In_L",4.0,0,1,1,1,0);
         return 1;
    }
CMD:lean2(playerid, params[])
	{
		 LoopingAnim(playerid,"RYDER","Van_Lean_L",4.0,0,1,1,1,0);
         return 1;
    }

CMD:gsign1(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign1",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign2(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign1LH",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign3(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign2",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign4(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign2LH",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign5(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign3",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign6(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign3LH",4.0,0,1,1,1,0);
         return 1;
    }
CMD:gsign7(playerid, params[])
	{
		 LoopingAnim(playerid,"GHANDS","gsign4",4.0,0,1,1,1,0);
         return 1;
    }



CMD:carjacked1(playerid, params[])
{
		 LoopingAnim(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
         return 1;
    }



CMD:carjacked2(playerid, params[])
{
		 LoopingAnim(playerid,"PED","CAR_jackedRHS",4.0,0,1,1,1,0);
         return 1;
    }



CMD:handsup(playerid, params[])
{
		LoopingAnim(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }



CMD:cellin(playerid, params[])
{
		SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
        return 1;
    }



CMD:cellout(playerid, params[])
{
		SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
        return 1;
    }



CMD:drunk(playerid, params[])
{
		LoopingAnim(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
		return 1;
    }



CMD:bomb(playerid, params[])
{
		ClearAnimations(playerid);
		LoopingAnim(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0); // Place Bomb
		return 1;
	}


CMD:getarrested(playerid, params[])
{
	      LoopingAnim(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1); // Gun Arrest
		  return 1;
    }


CMD:laugh(playerid, params[])
{
          OnePlayAnim(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
		  return 1;
	}


CMD:lookout(playerid, params[])
{
          OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
		  return 1;
	}


CMD:robman(playerid, params[])
{
          LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); // Rob
		  return 1;
	}


CMD:crossarms(playerid, params[])
{
          LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); // Arms crossed
		  return 1;
	}


CMD:lay(playerid, params[])
{
          LoopingAnim(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
		  return 1;
    }


CMD:hide(playerid, params[])
{
          LoopingAnim(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0); // Taking Cover
		  return 1;
	}


CMD:vomit(playerid, params[])
{
	      OnePlayAnim(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0); // Vomit BAH!
		  return 1;
	}


CMD:eat(playerid, params[])
{
	      OnePlayAnim(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0); // Eat Burger
		  return 1;
	}
	// Wave



CMD:slapass(playerid, params[])
{
   		OnePlayAnim(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0); // Ass Slapping
 		return 1;
	}


CMD:deal(playerid, params[])
{
          OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0); // Deal Drugs
		  return 1;
	}



CMD:crack(playerid, params[])
{
          LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // Dieing of Crack
		  return 1;
	}

	// Sit
CMD:sit(playerid, params[])
{
          LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
		  return 1;
    }
    // Idle Chat
CMD:chat(playerid, params[])
{
		 LoopingAnim(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
         return 1;
    }
    // Idle Chat2
CMD:chat2(playerid, params[])
{
		 LoopingAnim(playerid,"MISC","Idle_Chat_02",4.0,1,0,0,1,1);
         return 1;
    }
    // Fucku
CMD:fuckyou(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","fucku",4.0,0,0,0,0,0);
         return 1;
    }
    // TaiChi
CMD:taichi(playerid, params[])
{
		 LoopingAnim(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
         return 1;
    }

    // ChairSit

    // Fall on the ground
CMD:flip(playerid, params[])
{
		 LoopingAnim(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
         return 1;
    }

    // Fall
CMD:backflip(playerid, params[])
{
		 LoopingAnim(playerid, "PED","FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
         return 1;
    }

    // kiss
CMD:kiss(playerid, params[])
{
		 LoopingAnim(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
         return 1;
    }

    // Injujred
CMD:injured(playerid, params[])
{
		 LoopingAnim(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
         return 1;
    }


    // Violence animations
CMD:push(playerid, params[])
{
		 OnePlayAnim(playerid,"GANGS","shake_cara",4.0,0,0,0,0,0);
         return 1;
    }

CMD:akick(playerid, params[])
{
		 OnePlayAnim(playerid,"POLICE","Door_Kick",4.0,0,0,0,0,0);
         return 1;
    }

CMD:lowbodypush(playerid, params[])
{
		 OnePlayAnim(playerid,"GANGS","shake_carSH",4.0,0,0,0,0,0);
         return 1;
    }

    // Spray
CMD:spray(playerid, params[])
{
		 OnePlayAnim(playerid,"SPRAYCAN","spraycan_full",4.0,0,0,0,0,0);
         return 1;
    }

    // Headbutt
CMD:headbutt(playerid, params[])
{
		 OnePlayAnim(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0,0,0);
         return 1;
    }

    // Medic
CMD:medic(playerid, params[])
{
		 OnePlayAnim(playerid,"MEDIC","CPR",4.0,0,0,0,0,0);
         return 1;
    }

    // KO Face
CMD:koface(playerid, params[])
{
		 LoopingAnim(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0);
         return 1;
    }

    // KO Stomach
CMD:kostomach(playerid, params[])
{
		 LoopingAnim(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0);
         return 1;
    }

    // Jump for your life!
CMD:lifejump(playerid, params[])
{
		 LoopingAnim(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
         return 1;
    }

    // Exhausted
CMD:exhaust(playerid, params[])
{
		 LoopingAnim(playerid,"PED","IDLE_tired",3.0,1,0,0,0,0);
         return 1;
    }

    // Left big slap
CMD:leftslap(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","BIKE_elbowL",4.0,0,0,0,0,0);
         return 1;
    }

    // Big fall
CMD:rollfall(playerid, params[])
{
		 LoopingAnim(playerid,"PED","BIKE_fallR",4.0,0,1,1,1,0);
         return 1;
    }

    // Locked
CMD:carlock(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","CAR_doorlocked_LHS",4.0,0,0,0,0,0);
         return 1;
    }

    // carjack
CMD:rcarjack1(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","CAR_pulloutL_LHS",4.0,0,0,0,0,0);
         return 1;
    }

    // carjack
CMD:lcarjack1(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","CAR_pulloutL_RHS",4.0,0,0,0,0,0);
         return 1;
    }

    // carjack
CMD:rcarjack2(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","CAR_pullout_LHS",4.0,0,0,0,0,0);
         return 1;
    }

    // carjack
CMD:lcarjack2(playerid, params[])
{
		 OnePlayAnim(playerid,"PED","CAR_pullout_RHS",4.0,0,0,0,0,0);
         return 1;
    }

    // Hood frisked
CMD:hoodfrisked(playerid, params[])
{
		 LoopingAnim(playerid,"POLICE","crm_drgbst_01",4.0,0,1,1,1,0);
         return 1;
    }

    // Lighting cigarette
CMD:lightcig(playerid, params[])
{
		 OnePlayAnim(playerid,"SMOKING","M_smk_in",3.0,0,0,0,0,0);
         return 1;
    }

    // Tap cigarette
CMD:tapcig(playerid, params[])
{
		 OnePlayAnim(playerid,"SMOKING","M_smk_tap",3.0,0,0,0,0,0);
         return 1;
    }

    // Bat stance
CMD:bat(playerid, params[])
{
		 LoopingAnim(playerid,"BASEBALL","Bat_IDLE",4.0,1,1,1,1,0);
         return 1;
    }

    // Boxing
CMD:box(playerid, params[])
{
		 LoopingAnim(playerid,"GYMNASIUM","GYMshadowbox",4.0,1,1,1,1,0);
         return 1;
    }

    // Lay 2
CMD:lay2(playerid, params[])
{
		 LoopingAnim(playerid,"SUNBATHE","Lay_Bac_in",3.0,0,1,1,1,0);
         return 1;
    }



CMD:chant(playerid, params[])
{
		 LoopingAnim(playerid,"RIOT","RIOT_CHANT",4.0,1,1,1,1,0);
         return 1;
    }



CMD:fucku(playerid, params[])
{
		 OnePlayAnim(playerid,"RIOT","RIOT_FUKU",2.0,0,0,0,0,0);
         return 1;
    }



CMD:shouting(playerid, params[])
{
		 LoopingAnim(playerid,"RIOT","RIOT_shout",4.0,1,0,0,0,0);
         return 1;
    }



CMD:cop(playerid, params[])
{
		 OnePlayAnim(playerid,"SWORD","sword_block",50.0,0,1,1,1,1);
         return 1;
    }



CMD:elbow(playerid, params[])
{
		 OnePlayAnim(playerid,"FIGHT_D","FightD_3",4.0,0,1,1,0,0);
         return 1;
    }



CMD:kneekick(playerid, params[])
{
		 OnePlayAnim(playerid,"FIGHT_D","FightD_2",4.0,0,1,1,0,0);
         return 1;
    }



CMD:fstance(playerid, params[])
{
		 LoopingAnim(playerid,"FIGHT_D","FightD_IDLE",4.0,1,1,1,1,0);
		 return 1;
}
Reply
#2

Oh nice but put some effort next time while releasing filterscript or gamemode
Reply
#3

It's very simple.. but as ExpertSahil said, put some more effort into it.
Reply
#4

Quote:
Originally Posted by NoahF
Посмотреть сообщение
It's very simple.. but as ExpertSahil said, put some more effort into it.
What do you want me to put in it else? I need suggestions..
Reply
#5

Код:
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(638) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(643) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(648) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(653) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(658) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(663) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(668) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(673) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(679) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(684) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(689) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(694) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(699) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(704) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(709) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(717) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(725) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(733) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(757) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(766) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(773) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(780) : error 017: undefined symbol "OnePlayAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(787) : error 017: undefined symbol "OnePlayAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(794) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(801) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(808) : error 017: undefined symbol "LoopingAnim"
Reply
#6

Quote:
Originally Posted by Hade.
Посмотреть сообщение
Код:
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(638) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(643) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(648) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(653) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(658) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(663) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(668) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(673) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(679) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(684) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(689) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(694) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(699) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(704) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(709) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(717) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(725) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(733) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(757) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(766) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(773) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(780) : error 017: undefined symbol "OnePlayAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(787) : error 017: undefined symbol "OnePlayAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(794) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(801) : error 017: undefined symbol "LoopingAnim"
C:\Users\ilmar\Desktop\Click Clack FUN Server\gamemodes\EEF1.pwn(808) : error 017: undefined symbol "LoopingAnim"
Did you just copy and paste this under filterscriptinit?
Reply
#7

You forgot to add a command that would show a list of all available animations.
Reply
#8

I know Fierros, he's currently banned until November 17 for advertising his company.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)