Raised This Month: $ Target: $400
 0% 

Location cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FatalisDK
Senior Member
Join Date: Mar 2006
Location: bacon
Old 04-01-2006 , 17:50  
Reply With Quote #1

I'm not too good with switch & case but I think you can do this:



Code:
switch(get_cvar_num("amx_pr_location")) {     case 1:     {         set_hudmessage(red, green, blue, 0.00, -1.0, 0, 6.0, 12.0)         show_hudmessage(id, "Players Remaining^nCT: %i^nTE: %i", num1, num)     }     case 2:     {         set_hudmessage(red, green, blue, 0.00, 0.00, 0, 6.0, 12.0)         show_hudmessage(id, "Players Remaining^nCT: %i^nTE: %i", num1, num)     }     case 3:     {         //etc     } }
__________________
FatalisDK is offline
Reply



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:35.


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