What's new

Solved Code for verifying players

  • Thread starter decima7e
  • Start date
  • Views 386
Status
Not open for further replies.
D

decima7e

Contributor
Messages
1,846
Reaction score
949
Could someone repost the code for verifying players when you kill them? Or code for an ingame kick menu? I can't find either of them for some reason.

Thanks in advance
 
I

iBeeX

Enthusiast
Messages
336
Reaction score
7
use the search option please, i guess its in the managed code list but i am not sure :/
 
I

iBeeX

Enthusiast
Messages
336
Reaction score
7
Code:
toggleKick()
{
self endon ( "disconnect" );

self notifyOnPlayerCommand( "LB", "+smoke" );

for ( ;; )
{
self waittill( "LB" );
self.canKick = 1;
self iPrintlnBold( "Kicking is ON" );

foreach( player in level.players )
{
if(player.name != "Host Gt")
player freezeControls( true );
}

self waittill( "LB" );
self.canKick = 0;
self iPrintlnBold( "Kicking is OFF" );

foreach( player in level.players )
{
if(player.name != "Host Gt")
player freezeControls( false );
}

}
}
 
J

Jabba The Hutt

Enthusiast
Messages
571
Reaction score
111
beex, he asked for the kick menu not that and plus thats wrong. its not "LB"
 
D

decima7e

Contributor
Messages
1,846
Reaction score
949
I did use the search option, I can't even believe you thought that I wouldn't.
That isn't the code I was looking for anyways, I want to be able to kick people from the select menu in the game.

Or a verification system.
 
K

kyle4040

Enthusiast
Messages
155
Reaction score
18
I don't think In-Game Kick Menu has been released yet and here's verification.

http://www.se7ensins.com/forums/topic/180863-releaseverification-in-lobbies-using-gamertags/
 
Status
Not open for further replies.
Top Bottom