AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   some maps change cvar (https://forums.alliedmods.net/showthread.php?t=229063)

Green0Turtle 11-01-2013 05:09

some maps change cvar
 
Hi
I need a script that in some maps change cvar automatically


For example:


}

public some_maps() {
new somepath[64];
formatex(somepath, 63, "%s/somemaps.ini", custompath);
if (file_exists(somepath)) {
set_cvar_num( "amxx_respawn", 0 );
}

ConnorMcLeod 11-01-2013 05:17

Re: some maps change cvar
 
configs/maps/de_dust2.cfg :

Code:

amx_respawn 0
or

configs/maps/plugins-de_dust2.ini :

Code:

respawn.amxx disabled

Green0Turtle 11-01-2013 05:43

Re: some maps change cvar
 
thank
it work :)


All times are GMT -4. The time now is 23:21.

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