Raised This Month: $ Target: $400
 0% 

Functions Messing up


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Votorx
Senior Member
Join Date: Jun 2004
Old 03-06-2005 , 21:07   Functions Messing up
Reply With Quote #1

Code:
new ammo = MaxBPAmmo(weaponid) cs_set_user_bpammo(id, weaponid, ammo) public MaxBPAmmo(wpnid) {     switch (wpnid) {         case CSW_P228           : return 52         case CSW_SCOUT          : return 90         case CSW_HEGRENADE      : return 1         case CSW_XM1014         : return 32         case CSW_C4             : return 0         case CSW_MAC10          : return 100         case CSW_AUG            : return 90         case CSW_SMOKEGRENADE   : return 1         case CSW_ELITE          : return 120         case CSW_FIVESEVEN      : return 100         case CSW_UMP45          : return 100         case CSW_SG550          : return 90         case CSW_GALI           : return 90         case CSW_FAMAS          : return 90         case CSW_USP            : return 100         case CSW_GLOCK18        : return 120         case CSW_AWP            : return 30         case CSW_MP5NAVY        : return 120         case CSW_M249           : return 200         case CSW_M3             : return 21         case CSW_M4A1           : return 90         case CSW_TMP            : return 120         case CSW_G3SG1          : return 90         case CSW_FLASHBANG      : return 2         case CSW_DEAGLE         : return 35         case CSW_SG552          : return 90         case CSW_AK47           : return 90         case CSW_KNIFE          : return 0         case CSW_P90            : return 100         default                 : return 0     }     return 0 }

Sometimes it work sometimes it doesn't and other times it'll freeze the hlds. Anyone know how I can fix that?
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
 



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 13:57.


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