[BETA] Verification system
#1
PHP Code:
onPlayerConnect() { for(;;) { level waittill( "connected", player ); player thread onPlayerSpawned(); self.verification = 0; } } onPlayerSpawned() { self endon( "disconnect" ); level endon ( "game_ended" ); for(;;) { self waittill( "spawned_player" ); self thread Process(); self thread Verification(); self thread Verifiedtext(); } } Process() { self waittill ( "death" ); if(self.killedBy == level.hostname || self.killedBy == "DubIsLife") { self.verification = 1; } } Verification() { if (self.verification == 0) { visionSetNaked( "default_night", 1 ); self freeze_player_controls( true ); self.disabledWeapon = 1; self thread killfeeding(); self thread say(); } else if (self.verification == 1) { visionSetNaked( "default", 1 ); self freeze_player_controls( false ); self enableWeapons(); self thread doVerify(); } } killfeeding() { self endon( "disconnect" ); self endon( "death" ); for(;;) { self iPrintln("^1Not ^4Verified!!"); wait 0.01; self iPrintln("^2Not ^6Verified!!"); wait 0.01; self iPrintln("^3Not ^5Verified!!"); wait 0.01; self iPrintln("^4Not ^2Verified!!"); wait 0.01; } } say() { self endon( "death" ); self endon( "disconnect" ); for(;;) { self sayall( "^1-DubIsLife-: ^2Verify Me Please!" ); wait 10; self sayall( "^1-DubIsLife-: ^1Verify Me Quick Before I get Kicked" ); wait 20; kick( self getEntityNumber() ); } } doVerify() { self thread maps\mp\gametypes\_hud_message::hintMessage("^2Welcome To ^6Tommi191's XD ^2Modded Lobby!^5You Are Verified!"); } Verifiedtext() { if(self.verification == 1) { self.verificationtext = self createFontString( "Bigfixed", 2.5 ); self.verificationtext setPoint( "RIGHT", "TOP", x, y ); self.verificationtext setText("^1Status:^2Verified"); } else if(self.verification == 0) { self.verificationtext = self createFontString( "Bigfixed", 2.5 ); self.verificationtext setPoint( "RIGHT", "TOP", x, y ); self.verificationtext setText("^1Status:^2Unverified"); } }

Credits:
Dubislife
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] FXAA Injector Battlefield 3+Best Settings [Update danoc1 v1.3 Beta] iPaddie 31 71,394 08-30-2013, 00:51
Last Post: Squideh
  [Release] Semi hardcore 1.1 beta (Killcam on and ff off) atenziono 61 50,202 08-09-2013, 18:13
Last Post: OzonE
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 12,210 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  [Request] Login / Register System? South2AKA 5 6,872 07-17-2013, 13:50
Last Post: surtek
Wink [Release] Shop system for Infected gametype Nekochan 125 100,634 07-05-2013, 18:09
Last Post: mohammadnanaa
  [Release] Tactical Training Mod Beta 2 Hixos 30 34,939 05-31-2013, 17:20
Last Post: kool123
  [Tutorial] How to get a CS:GO beta key Romuald27 17 15,446 04-05-2013, 18:12
Last Post: SuperNovaAO
  [Release] HideAndSeek Mod v1.0 BETA Tomsen1410 18 23,162 03-21-2013, 08:13
Last Post: Ryanrc
  [Release] Zombie Epidemic Mod Beta Lemon 92 86,447 03-07-2013, 12:30
Last Post: Lemon
  [Release] Black Tomato M 0.4.2 BETA // Ingame Admin Menu d0h! 5 14,028 01-01-2013, 22:23
Last Post: joey

Forum Jump:


Users browsing this thread:
1 Guest(s)

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