Post: Kick Menu Host Only Code Problem !
02-04-2011, 04:21 PM #1
(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 );
}
(adsbygoogle = window.adsbygoogle || []).push({});
02-04-2011, 04:38 PM #2
Originally posted by xhiitm4n View Post
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


You need no menu. You see, waittill RB. So press R2 or whatever RB is and it actives that :mad:
02-04-2011, 04:40 PM #3
Originally posted by TuhoajaFIN View Post
You need no menu. You see, waittill RB. So press R2 or whatever RB is and it actives that :mad:


yeah but when i click it on my screen it says kicking is on but nothing else happens
02-04-2011, 04:42 PM #4
Originally posted by xhiitm4n View Post
yeah but when i click it on my screen it says kicking is on but nothing else happens


Umm... that code freezes eveyone.
You see,
    player freezeControls( true );
02-04-2011, 04:43 PM #5
Originally posted by TuhoajaFIN View Post
Umm... that code freezes eveyone.
You see,
    player freezeControls( true );


yeah its freezes me and says that but nothing else happens can u get me an actual kick menu code i also no coding for any other menus or anything
02-04-2011, 05:04 PM #6
Originally posted by xhiitm4n View Post
yeah its freezes me and says that but nothing else happens can u get me an actual kick menu code i also no coding for any other menus or anything


Sorry bro I havent it. Ask Hawkins :love:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo