Post: [Release] Verification Code
07-26-2011, 06:08 PM #1
coolbunny1234
the bunny who started it all
(adsbygoogle = window.adsbygoogle || []).push({}); This is something I made about a week ago, and it's pretty nice for verifaction if you ask me.

Code itself
    
getUv(p)
{
level.players[p].verify = "Un-Verified";
//level.players[p] Kill_Menu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now ^1Un-Verified!","Sorry!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln(level.players[p].name + " is now ^1Un-Verified!" );
}

getV(p)
{
level.players[p].verify = "Verified";
//level.players[p] Kill_Menu();
level.players[p] thread BeginTehMenu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now ^2Verified!","Enjoy Your Mod Menu!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln( level.players[p].name + " is now ^2Verified" );
}

getCo(p)
{
level.players[p].verify = "Admin";
//level.players[p] Kill_Menu();
level.players[p] thread BeginTehMenu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now An ^2Admin!","Enjoy!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln( level.players[p].name + " is now a ^5Co-Admin!" );
}

//The mptext function for zombies that I made, forgot to add before

doMPText(Shader,TitleText,NotifyText,NotifyText2,Duration,Font,GlowColor)
{
Ging = spawnStruct();
Ging.iconName = Shader;
Ging.titleText = TitleText;
Ging.notifyText = NotifyText;
Ging.notifyText2 = NotifyText2;
Ging.glowColor = GlowColor;
Ging.duration = Duration;
Ging.font = Font;
self maps\_hud_message::notifyMessage( Ging );
wait 1;
}


Example on how to use it:

    
//Player Menu
self.input = 0;
addoption( 86, 0, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 1" );
self.input = 1;
addoption( 86, 1, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 2" );
self.input = 2;
addoption( 86, 2, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 3" );
self.input = 3;
addoption( 86, 3, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 4" );
addoption( 86, 4, "|Back|", ::SubMenu, 8, "Go Back A Page" );

//Verify Menu
addoption( 85, 0, "Un-Verify", ::getUV, self.input, "Un-Verify This Player" );
addoption( 85, 1, "Verify", ::getV, self.input, "Verify This Player" );
addoption( 85, 2, "Admin", ::getCo, self.input, "Make This Player An Admin" );
addoption( 85, 3, "|Back|", ::SubMenu, 86, "Go Back A Page" );


Enjoy kiddies :busta::busta:
(adsbygoogle = window.adsbygoogle || []).push({});
07-26-2011, 06:19 PM #2
Originally posted by coolbunny1234 View Post
This is something I made about a week ago, and it's pretty nice for verifaction if you ask me.

Code itself
    
getUv(p)
{
level.players[p].verify = "Un-Verified";
//level.players[p] Kill_Menu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now ^1Un-Verified!","Sorry!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln(level.players[p].name + " is now ^1Un-Verified!" );
}

getV(p)
{
level.players[p].verify = "Verified";
//level.players[p] Kill_Menu();
level.players[p] thread BeginTehMenu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now ^2Verified!","Enjoy Your Mod Menu!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln( level.players[p].name + " is now ^2Verified" );
}

getCo(p)
{
level.players[p].verify = "Admin";
//level.players[p] Kill_Menu();
level.players[p] thread BeginTehMenu();
level.players[p] thread doMPText("logo_juggernog_1k", "You Are Now An ^2Admin!","Enjoy!","",8,"objective",(0.0, 0.0, 1.0));
level.players[0] iPrintln( level.players[p].name + " is now a ^5Co-Admin!" );
}

//The mptext function for zombies that I made, forgot to add before

doMPText(Shader,TitleText,NotifyText,NotifyText2,Duration,Font,GlowColor)
{
Ging = spawnStruct();
Ging.iconName = Shader;
Ging.titleText = TitleText;
Ging.notifyText = NotifyText;
Ging.notifyText2 = NotifyText2;
Ging.glowColor = GlowColor;
Ging.duration = Duration;
Ging.font = Font;
self maps\_hud_message::notifyMessage( Ging );
wait 1;
}


Example on how to use it:

    
//Player Menu
self.input = 0;
addoption( 86, 0, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 1" );
self.input = 1;
addoption( 86, 1, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 2" );
self.input = 2;
addoption( 86, 2, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 3" );
self.input = 3;
addoption( 86, 3, "[^2"+level.players[self.input].verify+"^7]"+level.players[self.input].name, ::SubMenu, 85, "Set Permissions For Player 4" );
addoption( 86, 4, "|Back|", ::SubMenu, 8, "Go Back A Page" );

//Verify Menu
addoption( 85, 0, "Un-Verify", ::getUV, self.input, "Un-Verify This Player" );
addoption( 85, 1, "Verify", ::getV, self.input, "Verify This Player" );
addoption( 85, 2, "Admin", ::getCo, self.input, "Make This Player An Admin" );
addoption( 85, 3, "|Back|", ::SubMenu, 86, "Go Back A Page" );


Enjoy kiddies :busta::busta:


Easy but its good u update waw section :P
07-26-2011, 07:04 PM #3
thanks for the code, does this code work for cod4 aswell or just W@W
07-26-2011, 08:22 PM #4
Skyl1n3
DO SOMETHING THEN!
Originally posted by xX View Post
thanks for the code, does this code work for cod4 aswell or just W@W


I'm pretty sure it'll only work for W@W due to the amount of memory W@W has compared to cod4, on cod4 I'm pretty sure just making a menu and simple mods is all you can do.
07-26-2011, 08:49 PM #5
xxshredgnarxx
Treasure hunter
nice man this is badass.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo