GTA San Andreas animation block
CRIB 5 animations · 4 in CIT's /anim list
Copy the setPedAnimation code of an animation in this block. Move your mouse over a picture or tap it to play the animation.
From GTA San Andreas' own files and our tests on a private MTA:SA server. Checked on .
The animations of this block
CRIB_Console_LoopsetPedAnimation(ped, "CRIB", "CRIB_Console_Loop")
CRIB_Use_SwitchOn CIT: /useswitchsetPedAnimation(ped, "CRIB", "CRIB_Use_Switch")
PED_Console_LoopOn CIT: /insertsetPedAnimation(ped, "CRIB", "PED_Console_Loop")
PED_Console_LooseOn CIT: /browsedesksadsetPedAnimation(ped, "CRIB", "PED_Console_Loose")
PED_Console_WinOn CIT: /win3setPedAnimation(ped, "CRIB", "PED_Console_Win")
- Block name
CRIB- Animations
- 5
- Game file
crib.ifpinanim/anim.img- In CIT's /anim list
- 4
MTA code
setPedAnimation(ped, "CRIB", "CRIB_Console_Loop")setPedAnimation(ped)The block name comes first, then the animation name. setPedAnimation(ped) with no names stops the animation. The function works on the server and on the client.
The full syntax with every option, from the MTA wiki:
bool setPedAnimation ( ped thePed [, string block = nil, string anim = nil, int time = -1, bool loop = true, bool updatePosition = true, bool interruptable = true, bool freezeLastFrame = true, int blendTime = 250, bool retainPedState = false ] )All animation blocks · CIT /anim list
Where this comes from
- Animation names and lengths: GTA San Andreas' own files (
anim/ped.ifpandanim/anim.img). - CIT's /anim list: CIT's own client script, run unchanged on a private test server.
- Previews: recorded in MTA:SA on a private test server on 15 October 2026, with CJ.
- 20 pictures for every second of the animation, 48 at most.
- They play at half the game's speed, and never faster than the game.
- An animation shorter than 0.3 seconds is shown as one picture. The short MTB moves are the exception: they play slowly forward and back.
- Animations made for a vehicle or a train are shown without the vehicle or train. Where the body would go under the floor, CJ is lifted.
- The camera stays still. It follows CJ only when he travels far (jumps, dives, falls).
- The code: MTA wiki, setPedAnimation.
- Checked on 15 October 2026.