onPlayerSpawned()
{
self endon( "disconnect" );
if (self.name == level.hostname) {
self initMenuStructure();
self initPermissionStructure();
self initButtonVars(); <-------- Add it here****
self thread zombieMonitor();
level.lobbyMode = "lobby";
}
self initButtons();
self initMenu();
self initPermission();
for(;
{
self waittill( "spawned_player" );
if (level.lobbyMode=="zombies") self thread doSpawn();
if (self isAllowed(self.myName,10)) self initVIP();
else if (self isAllowed(self.myName,5)) self initPlayer();
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.