implenting a block feature.

crackhead

Newbie
Joined
Nov 25, 2004
Messages
2,148
Reaction score
0
hi im really new to coding. i have visual studio.net 2003 and i am half way through a c++ book. i want to impliment a block feature for the crowbar. i have changed the crowbar model to a sword. and it works fine. i made an animation for the block but i cant compile the model with that in the qc file so i guess i need to add it to the code first. what i want to do is bind the right click mouse button so that when you hold it down it plays and loops the block animation and makes you invincible only while its held down.
could anyone help me out with this?

ok so ive figure out i need to make a console comand that tests to see if you press the right mouse button while the crowbar is equipped and then tells it to play the block animation and make you become invincible. but thats where im stuck lol.
 
Back
Top