SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/02/2020, 11:36 PM   #1
BryGarcia
Little Clucker
 
Join Date: Jan 2020
Posts: 7
Reputation: 0
Default death animation help

Anyone know how I can make the animation of this video in the 30th minute [url] https://youtu.be/oUBwArCln1w [/ url] when the player dies ??
BryGarcia is offline   Reply With Quote
Old 14/02/2020, 08:51 AM   #2
jasperschellekens
Gangsta
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Gehenna
Posts: 816
Reputation: 79
Default Re: death animation help

Looks a bit like the animation from dieing by a knife.
Might be one of these:
Code:
 KNIFE

    KILL_Knife_Ped_Damage
    KILL_Knife_Ped_Die
    KILL_Knife_Player
    KILL_Partial
    knife_1
    knife_2
    knife_3
    Knife_4
    knife_block
    Knife_G
    knife_hit_1
    knife_hit_2
    knife_hit_3
    knife_IDLE
    knife_part
    WEAPON_knifeidle
I have a similar death animation which does a random animation out of two. I basically set a var to 1 on player death and respawn the player.
After the respawn I set the animation etc.

PHP Code:
new rand=randomEx(1,2);
switch(
rand)
{
    case 
1ApplyAnimation(playerid,"PED","KO_skid_front",4.1000101);
    case 
2ApplyAnimation(playerid"PED","FLOOR_hit_f"4.1000101);

__________________
Coming soon (5-21-2020):

Undead Wasteland Roleplay - The year is 1996. San Andreas is a wasteland ruled by the undead. the once so glorius landscape of San Andreas, is now a shattered decayed place that is only a vague memory of the world as we used to know it.
Official Live Beta Release Date: 21th of May, 2020
Discord
jasperschellekens is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Death Animation Help ArminKH Scripting Help 2 03/08/2017 11:49 AM
Animation before death aoky Scripting Help 3 13/05/2017 03:01 PM
On Death Animation Help adithegman Scripting Help 14 30/01/2016 03:59 PM
Help me about New death animation Bumie Scripting Help 9 01/11/2015 08:20 AM
Help me about New death animation Bumie Server Support 1 29/10/2015 12:59 PM


All times are GMT. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.