AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Setting animation on a model? (https://forums.alliedmods.net/showthread.php?t=13060)

DiscoBBQ 05-02-2005 20:20

Setting animation on a model?
 
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?


All times are GMT -4. The time now is 16:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.