Making Animation
#1

Well , I wanted to make Animations in car , you know.. to relax on the seat and these things , Anyway - This is the first animation i am trying to do , but when i try it IG it don't work , look :;


pawn Код:
if(strcmp(cmd, "/sitc", true) == 0) { ApplyAnimation(playerid,"PED","Sit_relaxed",4.0,0,0,0,0,0); return 1; }

If someone can give me a link of tutorial on SAMP Forums.. i searched but didn't find , i used wiki but as you see it didn't work.. Anyway , if you can help me please say
Reply
#2

Look in gl_actions.pwn that comes with the server in the filterscripts folder and find the function "PreloadAnimLib". That helps with animations that need applying twice before working.
There's a good tool in my sig that helps create animations.
Reply
#3

Alright thanks , but can you tell me what's wrong in that Animation i made ?

(Note : gave you rep)
Reply
#4

Not sure try this one (with loop/forcesync set to 1)

pawn Код:
ApplyAnimation(playerid,"PED","Sit_relaxed",4.0,1,0,0,0,0,1)
Reply
#5

no.. not working
Reply
#6

Код:
ApplyAnimation(playerid,"LOWRIDER","Sit_relaxed",4.0,1,0,0,0,0,1)
You are wrong library name of the animation.
Reply
#7

Worked , Thanks man

but how to get the libabry name ?

(gave you rep)
Reply
#8

Quote:
Originally Posted by Breto
Посмотреть сообщение
Worked , Thanks man

but how to get the libabry name ?

(gave you rep)
https://sampwiki.blast.hk/wiki/Animations
example: AIRPORT that is Libary name but you can in MTA see libary names
Reply
#9

Agh.. how in MTA ?
Reply
#10

Quote:
Originally Posted by Breto
Посмотреть сообщение
Agh.. how in MTA ?
When you press Test then press F1 and there you have the anim click on that and choose animation.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)