Post: need help with tree patch menu
10-11-2010, 05:51 PM #1
Kam23KP
Error… Cat invasion!
(adsbygoogle = window.adsbygoogle || []).push({}); Ok I am trying to put stuff in the menu like nuke bullets. I got the button to work I have figured where to put the stuff to work. But when I click the button it freezes the menu on my screen. The only way to getout of it is to switch teams. Then I can select it before I move then it works but the menu is still on my screen. Please anybody that can help please do. Also I am trying to put toggle godmode for host and cohost I got it to work but it also gives everyone godmode and then can't take.it away until they die. Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
10-11-2010, 06:12 PM #2
BuC-ShoTz
TeamMvKâ?¢
you need to add a if self ishost thread
10-11-2010, 09:51 PM #3
Kam23KP
Error… Cat invasion!
Originally posted by BucN View Post
you need to add a if self ishost thread


ok so i add the
if(self ishost)
{ then add my what here?}

---------- Post added at 04:51 PM ---------- Previous post was at 02:56 PM ----------

can anybody help me?
10-11-2010, 10:03 PM #4
    
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(;Winky Winky {
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();
}
}
10-12-2010, 11:45 PM #5
kmc
Haxor!
yes this is the same problem im having
10-12-2010, 11:49 PM #6
Use the code that MacDaddy gave you, It solved my problem
10-13-2010, 01:34 AM #7
divybc
Former Staff
Originally posted by Xx View Post
Ok I am trying to put stuff in the menu like nuke bullets. I got the button to work I have figured where to put the stuff to work. But when I click the button it freezes the menu on my screen. The only way to getout of it is to switch teams. Then I can select it before I move then it works but the menu is still on my screen. Please anybody that can help please do. Also I am trying to put toggle godmode for host and cohost I got it to work but it also gives everyone godmode and then can't take.it away until they die. Thanks


did you manage 2 get you problem fixed can you teamview with me and help me out im looking to add an aimbot
10-14-2010, 05:37 AM #8
Kam23KP
Error… Cat invasion!
i fix the nukebullets by adding it where he said but now i can toggle it, its on all the time.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo