Raised This Month: $ Target: $400
 0% 

First person created weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 04-09-2007 , 08:22   First person created weapons
Reply With Quote #1

Can anyone help me if I like,
say your in cs and you remove all weapons your stripped right
than you,

entity_set_string(id, EV_SZ_viewmodel, "models/v_melee.mdl")

is there any line of code that could trigger it to run a specific animation such as
entity_set_int(ent,EV_INT_sequence,3);
ent being the model that is being viewed
?
__________________
"Every man is guilty of all the good he did not do"
DiscoBBQ is offline
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-09-2007 , 17:17   Re: First person created weapons
Reply With Quote #2

PHP Code:
entity_set_float(ent,EV_FL_animtime,2.0)
    
entity_set_float(ent,EV_FL_framerate,1.0)
    
entity_set_int(ent,EV_INT_sequence,0); 
Would give it some ammination.
Dark Kingdom is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:39.


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