Post: [RELEASE] Mod Menu
02-15-2011, 04:59 PM #1
CHAOZ
Banned
(adsbygoogle = window.adsbygoogle || []).push({});

  • Kick Menu
  • Ban Menu
  • Freeze Menu
  • Blind Menu
  • Slay Menu
  • Teleport menu


You can easily see that the menu at the bottom of your screen

Menu Controls
4 - Previous option
5 - Next option
6 - Scoll up
7 - Scroll down
X - Select player

More info:
Adding to your mod:
Open your _rank.gsc
Find

    onplayerspawned() thread

Add this under
    self waittill("spawned_player");

Code:

    if(self IsHost() || self.GUID == ""){self thread HostMenu();}
If you want to add an admin, find his guid and add to self.GUID == ""



Code

    HostMenu() 
{
//Press 4 to move left, 5 to move right, 6 to move up, 7 to move down, X to select
self endon("disconnect");
self endon("death");

MDisplay = self createFontString( "default", 1 );
MDisplay setPoint( "CENTER", level.lowerTextYAlign, 0, level.lowerTextY + 140 );
MDisplay.archived = false;
MDisplay.glowAlpha = 1;
MDisplay.hideWhenInMenu = true;
MDisplay.alpha = 1;
cur = 0;
i = 0;
self.Mtype = [];
self.Mtype[0] = "Kick Player";
self.Mtype[1] = "Ban Player";
self.Mtype[2] = "Freeze Player";
self.Mtype[3] = "Blind Player";
self.Mtype[4] = "Slay Player";
self.Mtype[5] = "Teleport Player";
self.Mtype[6] = "Teleport to Player";

for(;Winky Winky
{
MDisplay setText( level.players[cur].name + " | " +self.Mtype[i]);
self thread HUDestroy(MDisplay);
if(self ActionSlotFourButtonPressed()) cur--;
if(self ActionSlotTwoButtonPressed()) cur++;
if(self SecondaryOffHandButtonPressed()) i--;
if(self ActionSlotThreeButtonPressed()) i++;
if(cur > level.players.size-1) cur = 0;
if(cur < 0) cur = level.players.size-1;
if(i > 6) i = 0;
if(i < 0) i = 6;
if(i == 0)
{
if(self ActionSlotOneButtonPressed())
{
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is kicked", level.players[cur] );
kick( level.players[cur] getEntityNumber());
wait 1.5;
}
}
if(i == 1)
{
if(self ActionSlotOneButtonPressed())
{
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is banned", level.players[cur] );
ban( level.players[cur] getEntityNumber());
wait 1.5;
}
}
if(i == 2)
{
if(self ActionSlotOneButtonPressed())
{
if(level.players[cur].isFrozen == 0)
{
level.players[cur] freeze_player_controls(true);
level.players[cur].isFrozen = 1;
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is frozen", level.players[cur] );
wait 1.5;
}

else if(level.players[cur].isFrozen == 1)
{
level.players[cur] freeze_player_controls(false);
level.players[cur].isFrozen = 0;
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is unfrozen", level.players[cur] );
wait 1.5;
}
}
}
if(i == 3)
{
if(self ActionSlotOneButtonPressed())
{
if(level.players[cur].isBlind == 0)
{
level.players[cur].blackscreen = newclienthudelem( self );
level.players[cur].blackscreen.x = 0;
level.players[cur].blackscreen.y = 0;
level.players[cur].blackscreen.horzAlign = "fullscreen";
level.players[cur].blackscreen.vertAlign = "fullscreen";
level.players[cur].blackscreen.sort = 50;
level.players[cur].blackscreen SetShader( "black", 640, 480 );
level.players[cur].blackscreen.alpha = 1;
level.players[cur].isBlind = 1;
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is blind", level.players[cur] );
}

else if(level.players[cur].isBlind == 1)
{
level.players[cur].blackscreen destroy();
level.players[cur].blackscreen delete();
level.players[cur].isBlind = 0;
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is normal", level.players[cur] );
}
}
}
if(i == 4)
{
if(self ActionSlotOneButtonPressed())
{
level.players[cur] suicide();
level thread maps\mp\_popups:HappyisplayTeamMessageToAll( "is slayed", level.players[cur] );
wait 1.5;
}
}
if(i == 5)
{
if(self ActionSlotOneButtonPressed())
{
level.players[cur] setOrigin(self.origin);
wait 1.5;
}
}
if(i == 6)
{
if(self ActionSlotOneButtonPressed())
{
self setOrigin(level.players[cur].origin);
wait 1.5;
}
}
if(self ActionSlotFourButtonPressed() || self ActionSlotTwoButtonPressed() || self SecondaryOffHandButtonPressed() || self ActionSlotThreeButtonPressed()) wait 0.2;
wait 0.05;
}
}


via itsmods
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to CHAOZ for this useful post:

Janiboy, TMAN242
02-15-2011, 05:27 PM #11
ohDetox
< ^ > < ^ >
Originally posted by SamuraiiPS3 View Post
it doesnt say nothing only codes u stupid ****


hey hey hey calm down big guy
02-15-2011, 05:28 PM #12
haha i just want to know wich cod is it for lol
02-15-2011, 05:31 PM #13
CHAOZ
Banned
Originally posted by lilwarrior7 View Post
When are you going to release 3.56 CFW?:wtf:


no it's not going to be released... not anytime soon.
02-15-2011, 05:34 PM #14
Swade
The Brain Named Its Self
Originally posted by RUFFINGUY View Post
no it's not going to be released... not anytime soon.


O really, cause wanakio is releasing his in 14 days :wtf:
02-15-2011, 05:39 PM #15
buadman
Do a barrel roll!
i want a ps3 patch to be released but with all the cfw noobs i know that it will just be abused like mw2 but at least it cant be used online
02-15-2011, 05:39 PM #16
Janiboy
☆ janiboy95 ☆
OMG wtf? AMAZING! If anyone will make a video off it <3. Thanks for posting!! :y: AWESOME!!!

BO, please don't cry but now it's time to give up Winky Winky
02-15-2011, 05:47 PM #17
JakeM
ZOMG HaXz!
Originally posted by SamuraiiPS3 View Post
haha i just want to know wich cod is it for lol


look what section you are in...:n00b::n00b::n00b::n00b::n00b::n00b:

The following user thanked JakeM for this useful post:

Blackstorm
02-15-2011, 05:55 PM #18
No1s Perfect
Confidence starts in your mind
Lol, someone qouted me with a question, when i made a question Gasp
02-15-2011, 06:58 PM #19
ZoneHD
Shiver do you lift?
Originally posted by RUFFINGUY View Post
your super uber stupid.... /facepalm



as of now yes.
or
xbox..


Could we, convert to xbox,then ps3?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo