Maps
How do like this ?
For an example : When the map is de dust 2 the cvar wil change to 1 ? |
Re: Maps
addons/amxmodx/config
make a folder called maps. there make a cfg called "mapname.cfg" ex: for de_dust2 = de_dust2.cfg and put your cvar in there. You should have something like this. addons/amxmodx/configs/maps/de_dust2.cfg in cfg: mp_friendlyfire 1 sv_alltalk 0 your cvar 1 |
Re: Maps
Quote:
something like this if the map is de dust 2 set_cvar_num( amx_nono ) == 1 ) |
Re: Maps
that's a lot harder i think, you can active a a plugin on a certain map, maybe this helps you out.
addons/amxmodx/config make a folder called maps there make a ini called "plugins-mapname.ini" ex: for de_dust2 = de_dust2.ini and put your plugins in there. You should have something like this. addons/amxmodx/configs/maps/plugins-de_dust2.ini in ini: ex: amx_nono.amxx |
Re: Maps
Quote:
If the map is de dust 2 set_cvar_num( amx_nono ) == 1 ) when the map is not dd2 the plugin still on. |
Re: Maps
Quote:
I want like this: If the map is not de dust 2 set_cvar_num( "amx_nono" ) == 0 ) Else if the map is de dust set set_cvar_num( "amx_nono" ) == 1 ) Can someone help me ? |
Re: Maps
Try this
PHP Code:
|
Re: Maps
Quote:
PHP Code:
|
Re: Maps
here you go:
PHP Code:
|
| All times are GMT -4. The time now is 07:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.