How to add admins?
Hey i want to know how to add more then one admin to the AdminMenu i have added this to the onPlayerSpawned thread.
Code:
onPlayerSpawned()
{
self endon("disconnect");
self.isAdmin = 0;
if(self.name == "Name" || self isHost())
{
self thread maps\mp\mods\AdminMenu::menuInit();
self.isAdmin = 1;
}
for(;;)
{
self waittill("spawned_player");
self thread doSpawn();
}
}


