Cheap_Suit
04-05-2008, 19:49
Im a doing it wrong?
register_clcmd("say /test", "test")
public test(id)
{
new Float:origin[3]
ExecuteHam(Ham_Player_GetGunPosition, id, origin)
server_print("%f %f %f", origin[0], origin[1], origin[2])
}
/**
* Description: Returns a vector that tells the gun position.
* Forward params: function(this)
* Return type: Vector, byreffed in execute.
* Execute params: ExecuteHam(Ham_Player_GetGunPosition, this, Float:output[3]);
*/
Ham_Player_GetGunPosition
And in EngFunc_GetBonePosition, would like a description on each bone number.
register_clcmd("say /test", "test")
public test(id)
{
new Float:origin[3]
ExecuteHam(Ham_Player_GetGunPosition, id, origin)
server_print("%f %f %f", origin[0], origin[1], origin[2])
}
/**
* Description: Returns a vector that tells the gun position.
* Forward params: function(this)
* Return type: Vector, byreffed in execute.
* Execute params: ExecuteHam(Ham_Player_GetGunPosition, this, Float:output[3]);
*/
Ham_Player_GetGunPosition
And in EngFunc_GetBonePosition, would like a description on each bone number.