This is the function in the l4dstocks.inc by Mr.Zero
So, simply use:
Code:
ForceServerCommand("scenario_end");
Code:
stock ForceServerCommand(const String:command[]) {
new iFlags = GetCommandFlags(command);
SetCommandFlags(command, iFlags & ~(FCVAR_CHEAT|FCVAR_LAUNCHER));
ServerCommand("%s", command);
ServerExecute();
SetCommandFlags(command, iFlags);
SetCommandFlags(command, iFlags | FCVAR_CHEAT);
}