Author Topic: Removing admin restrictions from minigame creation  (Read 719 times)

Ok, I was thinking of making a script that removed the restrictions from minigame creation.
What this will do is temporarily give you admin, and then take it away.
I just need to know all the arguments for the CreateMinigame command.
This is what I'm thinking of so far.

Code: [Select]
package MNR
{
function serverCmdCreateMinigame(%cl,%name)
{
if(!%cl.isAdmin)
{
%cl.isAdmin = 1;
Parent::serverCmdCreateMinigame(%cl,%name);
%cl.isAdmin = 0;
}
else
{
Parent::serverCmdCreateMinigame(%cl,%name);
}
}
};
activatePackage(MNR);

The reason why only admins can make a minigame is becuase you have Script_DefaultMinigame
It has a package in it to only let admins create minigames.

I think the package name is MiniGameAO just say deActivatePackage("MinigameAO"); in console and it disables Admin Only function.

Get Kalphiter's new version of it which doesn't make minigames admin-only if a default minigame doesn't exist.

Alternately, remove the mod because it's stupid and forces people to spawn in areas where they can't see due to ghosting and get killed on the spawn, sometimes with respawns disabled.

Get Kalphiter's new version of it which doesn't make minigames admin-only if a default minigame doesn't exist.
Ok.

Alternately, remove the mod because it's stupid and forces people to spawn in areas where they can't see due to ghosting and get killed on the spawn, sometimes with respawns disabled.
No.

Get Kalphiter's new version of it which doesn't make minigames admin-only if a default minigame doesn't exist.
:cookieMonster:
Thanks for reminding me initially of the old one's suck

No.
Ah yes. Excellent reasoning. I can now clearly see why you're choosing to disregard my advice with that kind of justification.