View Single Post
arbol
Junior Member
Join Date: Sep 2013
Location: Argentina
Old 05-17-2014 , 19:26   Re: Set player animation
Reply With Quote #9

Modders:

So far this is what i've got

new clId = MakeCompatEntRef(client);

The command above transforms a big number (for example: 25231361) into a legible Client Id (1 for the first player, 2 for the next one, etc., probably 0 for the server but the server doesn't execute animations so it doesn't matter)

I need the reverse transform, the one that would transform a Client Id into the big number that appears in "m_hPlayer"

OR

A function that, given the ClientId, returns the "m_hPlayer" number (the big number above)


HELP NEEDED HERE, WOULD BE VERY GLAD IF WE CAN FINALLY BUILD SOMETHING THAT CAN CHANGE PLAYER ANIMATION !
arbol is offline