View Single Post
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-11-2014 , 14:00   Re: Set player animation
Reply With Quote #3

The client index seems to be in arg1 and is converted from string to int...

If I understand well you just need to rip out the TE_ part and make it use function args
PHP Code:
stock sendPlayerAnimToAll(clienteventdata)
{
    
TE_Start("PlayerAnimEvent");
    
    
TE_WriteNum("m_hPlayer"client);
    
TE_WriteNum("m_iEvent"event);
    
TE_WriteNum("m_nData"data);
    
    
TE_SendToAll();


Last edited by h3bus; 05-11-2014 at 14:04.
h3bus is offline