Raised This Month: $ Target: $400
 0% 

[Help] Weapon Chance


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 07-26-2009 , 15:04   Re: [Help] Weapon Chance
Reply With Quote #7

Take a look at your switch statement, get_user_team can only return 3 values. Look at the func page I showed you. I am sorry to not give a proper response, I am writing from my phone. edit: Titan, that wont help at all, that will only hook when the player spawns. Round start works fine. The code is pretty okay, you could remove is_user_connected and just use alive, because if the dude is alive, then he's connected.
Damn, this looks awful. I am sorry.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!

Last edited by Xellath; 07-26-2009 at 15:21.
Xellath 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 18:19.


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