(adsbygoogle = window.adsbygoogle || []).push({});
ok so i on have the following code for a kick menu on spawn and it work sort of it says kicking is on but theirs no menu etc so can any 1 help ?
missions code
Originally posted by another user
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 );
}