Raised This Month: $ Target: $400
 0% 

switch problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shino
Senior Member
Join Date: May 2006
Old 06-05-2006 , 07:08   switch problems
Reply With Quote #1

i would like to "rename" all weapons from CSW_*** to "***"...
i was thinking of something like this:
Code:
switch(weap) {     case CSW_AK47: "ak47"     case CSW_AUG: "aug"     case CSW_AWP: "awp"     case CSW_DEAGLE: "deagle"     case CSW_ELITE: "elite"     case CSW_FAMAS: "famas"     case CSW_FIVESEVEN: "fiveseven"     case CSW_G3SG1: "g3sg1"     case CSW_GALIL: "galil"     case CSW_GLOCK18: "glock18"     case CSW_HEGRENADE: "hegrenade"     case CSW_KNIFE: "knife"     case CSW_M249: "m249"     case CSW_M3: "m3"     case CSW_M4A1: "m4a1"     case CSW_MAC10: "mac10"     case CSW_MP5NAVY: "mp5navy"     case CSW_P228: "p228"     case CSW_P90: "p90"     case CSW_SCOUT: "scout"     case CSW_SG550: "sg550"     case CSW_SG552: "sg552"     case CSW_TMP: "tmp"     case CSW_UMP45: "ump45"     case CSW_USP: "usp"     case CSW_XM1014: "xm1014" }

help, please
shino 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 16:30.


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