SA-MP Forums Archive
Animation name (image) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Animation name (image) (/showthread.php?tid=262010)



Animation name (image) - Kwarde - 16.06.2011

Hi.
Does anyone know the animlib + animname of this animation?

I need it for my RP (another RP -.-) gamemode, when cops need to hold fire (return fire only) that they aim like that.

Thanks in advance,
Kevin


Re: Animation name (image) - Kwarde - 17.06.2011

Bump.
Does anyone know the animation name of this one? - If no one knows, I'll just loop through all the animations o_O


Re: Animation name (image) - Donya - 17.06.2011

actually aim the camera at yourself and it will aim like that to.

pawn Code:
if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32],animname[32];
        GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
        SendClientMessageFormatted(playerid, 0xFFFFFFFF, "Running anim: %s - %s", animlib, animname);
    }
use that in onplayerupdate or a timer and see for yourself :P
get me the animname, and i'll get u the animation id if u need


Re: Animation name (image) - Kwarde - 17.06.2011

*facepalm*
Stupid of me, that I didn't think of that yet, thanks.