[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



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 12,431 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
  [Request] Login / Register System? South2AKA 5 6,946 07-17-2013, 13:50
Last Post: surtek
  [Release] Tactical Training Mod Beta 2 Hixos 30 35,402 05-31-2013, 17:20
Last Post: kool123
  [Tutorial] How to get a CS:GO beta key Romuald27 17 15,738 04-05-2013, 18:12
Last Post: SuperNovaAO
  [Release] HideAndSeek Mod v1.0 BETA Tomsen1410 18 23,473 03-21-2013, 08:13
Last Post: Ryanrc
  [Release] Black Tomato M 0.4.2 BETA // Ingame Admin Menu d0h! 5 14,150 01-01-2013, 22:23
Last Post: joey
  [News] Guild Wars 2 Beta Lemon 10 10,442 12-11-2012, 16:48
Last Post: narkos
  Ban system xGo 3 4,689 12-07-2012, 19:42
Last Post: 8q4s8
  Hawken Closed Beta Event 3 Keys for PC [DA]Bad Blood 1 3,742 11-20-2012, 23:31
Last Post: SuperNovaAO
  Hawken Closed Beta [DA]Bad Blood 0 2,372 11-09-2012, 04:15
Last Post: [DA]Bad Blood

Forum Jump:


Users browsing this thread:
1 Guest(s)

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