Post: MW2 Style Player Verification System Script for WaW
02-24-2012, 01:42 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
    onPlayerSpawned()
{
self endon("disconnect");

for( ;; )
{
self waittill("spawned_player");
self.jump = false;
self.aim = false;
self.god = false;
self.ufo = false;
self.wall = false;
self.invisible = false;
self.third = false;
self.unlammo = false;
if(!isdefined(self.hud_rankscroreupdate))
{
self.hud_rankscroreupdate = NewScoreHudElem(self);
self.hud_rankscroreupdate.horzAlign = "center";
self.hud_rankscroreupdate.vertAlign = "middle";
self.hud_rankscroreupdate.alignX = "center";
self.hud_rankscroreupdate.alignY = "middle";
self.hud_rankscroreupdate.x = 0;
self.hud_rankscroreupdate.y = -60;
self.hud_rankscroreupdate.font = "default";
self.hud_rankscroreupdate.fontscale = 2.0;
self.hud_rankscroreupdate.archived = false;
self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
self.hud_rankscroreupdate.alpha = 0;
self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
self thread doSpawned();
if(self.verified == true && self.vip == true && self.coHost == true && self GetEntityNumber() == 0)
{
self iPrintlnBold(self.name+" ^2WELCOME YOU ARE NOW VERIFIED^0!");//Dont Freeze The Verified...
}
else
{
self freezecontrols(true);//Freeze EveryOne On Spawning...
self iPrintlnBold( "^0================================" );
self iPrintlnBold( "^0===^1PLEASE ^7WAIT ^5TO ^7BE ^1VERIFIED^0===" );
self iPrintlnBold( "^0================================" );
}
}
}
}

verify(){
player = level.players[self.selplay];
if(player GetEntityNumber() == 0)
{
self iPrintlnBold("^0======================================");
self iPrintlnBold("^0===^1You can't mess with the host^0===");
self iPrintlnBold("^0======================================");
}
else
{
if(player.verified == false)
{
player suicide();
player.verified = true;
player.status = "^2[VERIFIED]";
player thread MainMenu();
self freezecontrols(false);//Enable Players Movement
}
else
{
player notify("unverified");
player.verified = false;
player.vip = false;
player.coHost = false;
player.status = "[WAIT...]";
player iPrintln( level.hostname + " ^3Remove Access to the Menu");
self freezecontrols(true);//Freeze Players Movement
}
}
self thread submenu(11);
}


vipPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.status = "^5[*VIP*]";
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

hostPlayer(){
player = level.players[self.selplay];
player.verified = true;
player.vip = true;
player.coHost = true;
player.status = "^0[^1CO^0-^1HOST^0]";
player giveWeapon( "defaultweapon_mp", 0, false );
player thread MainMenu();
self thread submenu(11);
self freezecontrols(false);//Enable Players Movement
}

Ok so what this simple script i made does is freeze players on spawn until they are verified they cant move. Thanks to kbrizzle's for the idea on his mw2 tree patch... Smile Enjoy... Tested And Working...
[/SIZE]

---------- Post added at 08:42 PM ---------- Previous post was at 08:36 PM ----------

Im using this for my patch and it is really fun Smile
(adsbygoogle = window.adsbygoogle || []).push({});
02-24-2012, 03:26 AM #2
Originally posted by KARTUNE85 View Post
Reported to Mods Wrong Section!


1. Im 19 hardly a kid
2.How is this the wrong section? everyone post there scripts here.
3.I scripted this myself so no i didnt find this on a site.
4.There is no facts to lay so if your gonna troll please dont view my threads. Thank You! :p

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

What because it says mw2 in title? I put that because i got the idea from mw2 kbrizzles patch. He did it for his tree patch so i thought il script it for waw Smile
02-24-2012, 04:32 PM #3
Originally posted by COD5
1. Im 19 hardly a kid
2.How is this the wrong section? everyone post there scripts here.
3.I scripted this myself so no i didnt find this on a site.
4.There is no facts to lay so if your gonna troll please dont view my threads. Thank You! :p

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

What because it says mw2 in title? I put that because i got the idea from mw2 kbrizzles patch. He did it for his tree patch so i thought il script it for waw Smile


so why did you post it in the mw2 section if you scripted it for W@W?

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

iTruceFret, COD5-MAN-, TheFallen
02-26-2012, 12:34 AM #4
Default Avatar
Gizmo
Guest
Originally posted by COD5
1. Im 19 hardly a kid
2.How is this the wrong section? everyone post there scripts here.
3.I scripted this myself so no i didnt find this on a site.
4.There is no facts to lay so if your gonna troll please dont view my threads. Thank You! :p

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

What because it says mw2 in title? I put that because i got the idea from mw2 kbrizzles patch. He did it for his tree patch so i thought il script it for waw Smile


Added code tags, renamed thread to avoid confusion and moved back to WaW :p
02-26-2012, 05:42 AM #5
Originally posted by ViiPeR View Post
so why did you post it in the mw2 section if you scripted it for W@W?


I didnt one of the moderators moved it to mw2 section cos kartun85 is a jelus hater and reported thread because it had mw2 in title Smile

---------- Post added at 12:41 AM ---------- Previous post was at 12:40 AM ----------

Thank you so much Gizmo for moving it back thanks Smile

---------- Post added at 12:42 AM ---------- Previous post was at 12:41 AM ----------

Originally posted by Gizmo View Post
Added code tags, renamed thread to avoid confusion and moved back to WaW :p


Thank you so much Gizmo for moving back to waw section <3
02-27-2012, 02:04 PM #6
Karoolus
I'm the W@W Menu Guy !
thank you soo much for this script :carling:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo