 |
|
Veteran Member
|

07-12-2020
, 13:59
Re: ZombieBasebuilder.ini
|
#6
|
Quote:
Originally Posted by Supremache
PHP Code:
case SECTION_MOD_CVARS:
{
if (equal(key, "MOD ENABLE/DISABLE"))
g_pcvar_enabled = str_to_num(value)
if (equal(key, "BUILD TIME"))
g_pcvar_buildtime = str_to_num(value)
if (equal(key, "PREP TIME"))
g_pcvar_preptime = str_to_num(value)
if (equal(key, "ZOMBIE RESPAWN DELAY"))
g_pcvar_zombietime = str_to_num(value)
if (equal(key, "SURVIVOR RESPAWN INFECTION DELAY"))
g_pcvar_infecttime = str_to_num(value)
if (equal(key, "SHOW MOVERS"))
g_pcvar_showmovers = str_to_num(value)
if (equal(key, "LOCK BLOCKS"))
g_pcvar_lockblocks = str_to_num(value)
if (equal(key, "LOCK MAX"))
g_pcvar_lockmax = str_to_num(value)
if (equal(key, "COLOR MOD <0/1/2>"))
g_pcvar_colormode = str_to_num(value)
if (equal(key, "PUSH CEILING"))
g_pcvar_entmaxdist = str_to_num(value)
if (equal(key, "PULL FLOOR"))
g_pcvar_entmindist = str_to_num(value)
if (equal(key, "GRAB SET"))
g_pcvar_entsetdist = str_to_num(value)
if (equal(key, "RESET BLOCKS ON NEW ROUND"))
g_pcvar_resetent = str_to_num(value)
if (equal(key, "ONE HIT KILL FOR ZOMBIES"))
g_pcvar_supercut = str_to_num(value)
if (equal(key, "GUNS MENU"))
g_pcvar_gunsmenu = str_to_num(value)
if (equal(key, "GRENADES"))
g_pcvar_givenades = str_to_num(value)
if (equal(key, "ALLOWED WEAPONS"))
g_pcvar_allowedweps = str_to_num(value)
}
}
}
if (file) fclose(file)
@ Natsheh - So how i do it ?
|
here why're you changing the pointer variables value....????
__________________
|
|
|
|