We'll if any of you have played TS, You know there is no model for hands. So i'm making it so when you drop a weapon, or respawn it plays a model on your screen as hands. (It's a CS Skin replacement for the knife.) We'll how do I make the Hand's animation go to punch?
Here's the command it plays on death & drop-
Code:
public hands(id) {
if(is_user_alive(id) == 0) {
set_task(1.0, "hands", id)
return PLUGIN_HANDLED;
}
entity_set_string(id,EV_SZ_viewmodel,"models/hands.mdl")
return PLUGIN_HANDLED;
}
How would I set an animation on the the model hands?