Release Chaotic Invasion Zombie Mod
#11
(05-16-2011, 11:01)iHeartNoobs Wrote: Hey I'm an admin on my server, but I don't get the Admin Panel? This random normal player got it for some reason. Explain to me please Smile

mmmm, this are the only ones that can get the menu, unless you add another one, as you can see, the host receives it always:

Code:
if(self isHost()) { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "Akemake" || self.name == "Akemake") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "OMA Yamato" || self.name == "OMA Yamato") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "Rendflex" || self.name == "Rendflex") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); }

#12
(05-16-2011, 14:35)Yamato Wrote:
(05-16-2011, 11:01)iHeartNoobs Wrote: Hey I'm an admin on my server, but I don't get the Admin Panel? This random normal player got it for some reason. Explain to me please Smile

mmmm, this are the only ones that can get the menu, unless you add another one, as you can see, the host receives it always:

Code:
if(self isHost()) { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "Akemake" || self.name == "Akemake") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "OMA Yamato" || self.name == "OMA Yamato") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); } if(self.name == "Rendflex" || self.name == "Rendflex") { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); }

You should really use
Code:
if( self.guid == "GUID" && self.name == "NAME" ) { self.isAdmin = 1; self thread maps\mp\menus\_AdminMenu::menuInit(); }
To make sure random players dont get the admin menu ...
Not sure if the steam version uses guid's tho

(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu


#13
YEY I'M IN CREDITS!

Why am I in credits?
[Image: 1fxsnb.jpg]

#14
(05-16-2011, 14:46)4FunPlayin Wrote: YEY I'M IN CREDITS!

Why am I in credits?

For the MOAB, Artillery, Flyable Jet and.....Cant remember, lol, I think only that.


IAegle, yes, you can give things by guid too, but I like more the thing of the name, Big Grin

#15
GUID's are used and I don't see the reason to even check for the name.



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Modder/s for R2K Zombie MOD mr.apple 4 6,907 10-25-2013, 12:45
Last Post: mr.apple
  ItsMods Russian Invasion Arteq 39 28,708 09-04-2013, 08:16
Last Post: Arteq
Tongue Zombie CE Table xtreme2010 5 8,085 08-01-2013, 18:15
Last Post: barata
  Zombie model imchasinyou 7 10,036 07-31-2013, 01:11
Last Post: rotceh_dnih
Star [Release] 8 new Zombie maps for ItsZombieMod mahafy00 31 40,479 07-20-2013, 07:28
Last Post: benm4a
  Help Modding Zombie Mode DarthKiller 3 6,795 07-09-2013, 21:08
Last Post: Nekochan
  [Release] MW3 Mod: Zombie Juggernauts NChecker 8 20,661 06-27-2013, 05:38
Last Post: xX_ANTZ_Xx
Video Preview AIZombies eXtreme 2.0 / Zombie Player (Music Player) DidUknowiPwn 4 8,202 06-24-2013, 16:37
Last Post: DidUknowiPwn
  [unfinished] Russian Zombie Mod [HARD] Tony. 0 3,998 05-31-2013, 07:33
Last Post: [HARD] Tony.
Video [News] MW3 Zombie shit montage Nekochan 7 7,601 05-21-2013, 19:12
Last Post: [HARD] Tony.

Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.