maxdamage99
11th August 2016, 09:50
Hi, how check "mp_mapname" in folder?
EXAMPLE:
checkmap(map)
{
/* map_indir - example function */
if(map_indir(map))
return 1;
else
return "File: "+map+".3dbsp no found in: "+getcvar("fs_game")+" and main";
}
and i can use this?????:
Cmd_ExecuteString("clientkick 0");
/* and */
Cmd_ExecuteString("givepistol 5"); //rcon-admin command by .gsc scripts
/* or */
Cmd_ExecuteString("set newcvar newvalue");
?
EXAMPLE:
checkmap(map)
{
/* map_indir - example function */
if(map_indir(map))
return 1;
else
return "File: "+map+".3dbsp no found in: "+getcvar("fs_game")+" and main";
}
and i can use this?????:
Cmd_ExecuteString("clientkick 0");
/* and */
Cmd_ExecuteString("givepistol 5"); //rcon-admin command by .gsc scripts
/* or */
Cmd_ExecuteString("set newcvar newvalue");
?