SA-MP Forums Archive
How to add Anims In-Game ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to add Anims In-Game ? (/showthread.php?tid=432232)



How to add Anims In-Game ? - JSkulloz - 21.04.2013

[ame]http://www.youtube.com/watch?v=BMXdx_gzi4k[/ame]
i did what other told me to do


Re: How to add Anims In-Game ? - Faisal_khan - 21.04.2013

Dude please stop spamming!


Re: How to add Anims In-Game ? - JSkulloz - 22.04.2013

Sorry i think your the spammer , cuz i asked for help and not people to correct me ....


Re: How to add Anims In-Game ? - DobbysGamertag - 22.04.2013

pawn Код:
CMD:lay(playerid,params[])
{
    ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
    return 1;
}
You can use either ApplyAnimation. I suggest looking it up for the different types here: https://sampwiki.blast.hk/wiki/ApplyAnimation

you can also use SetPlayerSpecialAction
pawn Код:
CMD:handsup(playerid,params[])
{

        SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
    return 1;
}
More can be found about that here: https://sampwiki.blast.hk/wiki/SpecialActions


Re: How to add Anims In-Game ? - Faisal_khan - 22.04.2013

Quote:
Originally Posted by JSkulloz
Посмотреть сообщение
Sorry i think your the spammer , cuz i asked for help and not people to correct me ....
I don't think so, because you made this thread the third time and every time it was deleted by the mods.


Re: How to add Anims In-Game ? - JSkulloz - 22.04.2013

And @Dobby is that for filterscript?


Re: How to add Anims In-Game ? - JSkulloz - 23.04.2013

Still in need of help...


Re: How to add Anims In-Game ? - Yashas - 23.04.2013

His script will work in Filterscript or Gamemoed or any pawn file (of SAMP).He is using probably using ZCMD and you have to download it for the code to work.

NOTE:The first animation will not be shown(Because the first anim loads the library).You have to once apply the 'NULL' animation of every library.


Re: How to add Anims In-Game ? - JSkulloz - 23.04.2013

Can you kindly tell me the "requirements" for adding anim , Thanks


Re: How to add Anims In-Game ? - Yashas - 23.04.2013

There are no requirements for applying an anim. Just one task is to once apply a NULL animation on every player connects(OnPlayerConnect).Or the first animation won't work as the animation libraries are not loaded.

There is a filterscript in the server folder SAMP Server>>filterscripts>>gl_anims.pwn (If I am not wrong about the file name), use that filterscript or take the ideas from it.