samp.directory
← IDs and reference

SA-MP animations

Every animation in the game: 1,871 in 134 libraries. Pick one to see it played in 3D on any skin, and copy the ApplyAnimation line that plays it.

Pick an animation from the list, or one of these, to see it played here.

Using these in a script

ApplyAnimation(playerid, library, name, 4.1, loop, lockx, locky, freeze, time) plays one on a player, and everyone near them sees it. The library and the name are found whatever their case, and 4.1 is the number nearly every script passes. ClearAnimations(playerid) stops it.

An actor (made with CreateActor) plays one with ApplyActorAnimation, which takes the same but forcesync. Its library is loaded for each player who is to see it, not for the actor.

Names and lengths are read from the game’s own animation files. The animations belong to Rockstar Games and are shown for reference.

BEACH animation library for SA-MP, in 3D | samp.directory