Raised This Month: $ Target: $400
 0% 

Add effects when I shot with a gun. [please help me]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hip_hop_x
Senior Member
Join Date: Apr 2006
Old 01-17-2007 , 16:57   Add effects when I shot with a gun. [please help me]
Reply With Quote #1

How to add some code while I shot with guns? I've made some effects, but I don' know how to add them.
I don't know how to do this:
Code:
if( player is shoting(id) ) //this is what I don't know { //my code to set some effects for all weapons }

And how to add some code while I shot only with that gun.
Code:
if( player is shoting(id) ) && (weapon is crossbow) { // my cod to set the effects only for weapon crossbow }

Anyone could give me some examples, andif you have time, can you please give me a url/post all the weaopn names from half-life(not cstrike).
I need this to finish my plugin.

I'll give +karma If you help me.

Last edited by hip_hop_x; 01-17-2007 at 16:59.
hip_hop_x is offline
Send a message via MSN to hip_hop_x Send a message via Yahoo to hip_hop_x
 



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 22:25.


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