Hi, how check "mp_mapname" in folder?
EXAMPLE:
and i can use this?????:PHP Code:
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";
}
?Code:Cmd_ExecuteString("clientkick 0");
/* and */
Cmd_ExecuteString("givepistol 5"); //rcon-admin command by .gsc scripts
/* or */
Cmd_ExecuteString("set newcvar newvalue");