Page 4 of 4

Posted: Mon May 11, 2009 9:11 pm
by SilentAngel
can I do this with cvars?! it gave me error but I need ti do that..

Code: Select all

getcvar(("map" + local.map_list_map_num[local.i]))
and

Code: Select all

setcvar ("map" + local.i + "turn") (local.map_turn[local.i])
in other words I need to works with cfg cvars made by me, and these are:
set map1turn "1"
set map1 "dm/mp..blabla.."

someone knows a way?

Posted: Mon May 11, 2009 9:40 pm
by $oldier Of Ra
Yes you can. But I'm really wondering what you're all doing in your scripts :p

Posted: Mon May 11, 2009 9:52 pm
by SilentAngel
lol! I'm doing a mod for my server to run more map mods, for exemple:
sv_maplist "dm7mp_maplta_dm dm/mohdm2 dm7mp_maplta_dm"
the first time, malta run a mod, the second time malta run another mod..