Thread: deathmsg events
View Single Post
pixel3
Senior Member
Join Date: Dec 2005
Old 03-15-2006 , 10:22  
Reply With Quote #3

Well.. I think you could use switch. maybe something like this :

Code:
new mode = get_cvar_num(cvarname)         switch(mode) {         default:         {             // If mode is not 1 or 2 then             // this code will be executed         }         case 1:         {             // Your code here         }         case 2:         {             // Your code here         }     }
__________________
pixel3 is offline