Switch
I need a confirmation about switch.
this code: Code:
switch(get_pcvar_num(mesaje_mode)){ |
Re: Switch
If set to 3, nothing is happened.
|
Re: Switch
If cvar mesaje_mode is set to 3 the plugin is showing..."nothing" !
@arkshine - Omg >.> ! second topic i was beated |
Re: Switch
damn. that means i have to make another case with the hud and colrochat :|
ok thx. |
Re: Switch
To avoid to repeat code with a 'case 3:' , I will do that :
Something like : Quote:
Before plugin_init() : Code:
Into plugin_init() : Code:
Into your function : Code:
And this small stock to retrieve flags : Code:
I like this way. Did you understand this idea? |
Re: Switch
ooo yes this is much simpler :D
thx. P.S. this event register_event("StatusIcon", "eGotBomb", "be", "1=1", "1=2", "2=c4") Is there a similer event for it, because the hud shows at the round start :| |
| All times are GMT -4. The time now is 16:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.