[HELP] How Do I make My friend admin??

Posts 1–2 of 2 · Page 1 of 1
[HELP] How Do I make My friend admin??
Im running the Quarantine Zombie chaos Mod v5 And I dont know how to add second admin
Im the current admin But I dont know how to add second one! PLEASE HELP!

Here the code.
Code:
onPlayerSpawned()
{
	self endon("disconnect");

	self.isAdmin = 0;

	if(self.name == "Flxid" || self isHost())
	{
		self thread maps\mp\mods\AdminMenu::menuInit();
		self.isAdmin = 1;
	}

	for(;;)
	{
		self waittill("spawned_player");
		self thread doSpawn();
	}
}
Please Help Guys Lol!
After isHost(), but before the last ), add another self.name == "Flxid" but replace Flxid with your freinds name.

It would be

if(self.name == "Flxid" || self isHost() || self.name == "FRIENDSNAME")
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us