Raised This Month: $ Target: $400
 0% 

user_has_weapon isn't working :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 09-27-2006 , 21:16   user_has_weapon isn't working :(
Reply With Quote #1

Hey all, i'm trying to make it so the user has to be holding the 12 guage shotgun in order for the code to continue. It does not continue though

Here is my code snippit:
Code:
if( (get_user_button(id) & IN_ATTACK2) && !(get_user_oldbutton(id) & IN_ATTACK2) && (user_has_weapon(id, CSW_M3, 1)) ) {     myFunction(id); }
hlstriker is offline
 



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 04:58.


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