CHEATS GUIs SCRIPTS MAPS TUTORIALS SOUNDS EFFECTS TOOLS SERVERS SKINS TEXTURES MODELS PLUGINS MODS
 
Remove ads!
Rating
Based on GVME Community!
Rating:


Your rating: N/A
Total votes: 0

You cannot rating yet!
You can rate anything - when you add rating to a submission your vote determines its success or failure.

To vote on this submission
register or login

You cannot add to Favorites!
Total Favorites

You cannot say thanks!
You must register or login

Statistics
Scores and popularity
Views: 408
Downloads: 0
Feedback: 0

1 Swing Crowbar

Share: F F F F F F F
  Added by: exeqtR
  Category: GoldSource Engine > Programming
Difficulty Level: Begginer
  Tags: Swing Crowbar
Hi, im aiming to make this site have more tutorials so I have just done a new tutorial to make the crowbar only swing once when held,

lets start open crowbar.ccp
in the crowbar class, make a bool named
CODE
m_HasSwung.


at the start of PrimaryAttack, put in this:
CODE
if( m_HasSwung )
return;
m_HasSwung = true;

and then at the top of weaponidle:
m_HasSwung = false


And thats about it 1.gif
  Added: Jan 10 2021, 11:38 PM    Modified: Never edited!    Thanks List: [+]      
Add Feedback

You cannot post yet!
Get involved on GVME by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login
Feedback