anim is a section in the item definition file in Grand Theft Auto: San Andreas and Grand Theft Auto IV. It is used to define standard map objects linked to an animation. Its format is almost exactly like standard map objects but with one additional parameter for the animation file. GTA IV added a section tanm that supports time controlled objects linked to animations.
Format
GTA San Andreas
anim
Id, ModelName, TxdName, AnimationName, DrawDistance, Flags
end
Identifier
Type
Description
A
Id
integer
Unique object ID.
B
ModelName
string
Name of the .dff model file without extension.
C
TxdName
string
Name of the .txd texture dictionary without extension.
D
AnimationName
string
Name of the .ifp animation file without extension.
Note that animated models still have static collisions. This means that the collision do not animate with the model since it does not contain bone information for the animation. If you want to move objects, you can do this using the script.