Jump to content
KokaKolaA3

Animations on player and nearest player

Recommended Posts

Hey, i edited a script that allows you to make some cool animations ingame, everything works fine, but i want to extend it.

I want that if the player executes an animation, that the player in front of him executes an animation as well, but i don't know how to do it.

 

This is a part of the script for ONLY the player:

 

case 73:
{	
    if(_shift) then 
    {
        _handled = true;
    };	
	
    if ((_shift) && (vehicle player == player)) then		
    {					
        player "Acts_AidlPercMstpSloWWpstDnon_warmup_8_loop";		
    };
};

Could anyone help me?

 

 

 

PS: For better understanding, the player can slap another player and the other player get kicked back by the hit, both animations are already ingame, i just need some code to use it

Share this post


Link to post
Share on other sites

iv been looking about for some help myself and have stumbled apon your question... im probably not great help but i think the direction you need to go is remoteexec

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×