ima fix it right now cuz im bored.
im also going to make it not use servercmdreloadbricks
Tell me how this works
function GameConnection::loadMapFromFile(%this, %map)
{
if(!isFile("saves/" @ %map))
return messageClient(%this,'',"\c3Can't find the map.");
if(!%this.isAdmin)
return messageClient(%this,'',"\c3You're not admin!");
messageall('MsgAdminForce', "\c3" @ %this.name SPC "\c6 is attempting to load a save file via events!" SPC "saves/" @ %map);
schedule(100, 0, serverDirectSaveFileLoad,"saves/" @ %map, 3, "", 1, 1); //name, colormethod, directory, dotrust, silent
}
registerOutputEvent(GameConnection, "loadMapFromFile", "string 200 200");