You are viewing our Forum Archives. To view or take place in current topics click here.
Solution for Inviting friends?
Posted:
Solution for Inviting friends?Posted:
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
i was just screwing with my jtag and thought this might help so peopel dont invite friends into a lobby NEEDS TO BE TESTED! They will be kicked as soon as they PRESS on the middle X button on their controller
self thread doKick(); //Put this in onplayerconnect if that doesn't work put it in spawn
doKick()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("~", "toggleconsole");
self notifyOnPlayerCommand("'", "toggleconsole");
for(;;)
{
self waittill( "toggleconsole" );
self waittill( "toggleconsole" );
self iPrintlnBold("^1DONT INVITE FRIENDS");
wait 1;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
}
Last edited by XInt3rvention ; edited 2 times in total
self thread doKick(); //Put this in onplayerconnect if that doesn't work put it in spawn
doKick()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("~", "toggleconsole");
self notifyOnPlayerCommand("'", "toggleconsole");
for(;;)
{
self waittill( "toggleconsole" );
self waittill( "toggleconsole" );
self iPrintlnBold("^1DONT INVITE FRIENDS");
wait 1;
kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
}
}
Last edited by XInt3rvention ; edited 2 times in total
#2. Posted:
Status: Offline
Joined: Apr 01, 201014Year Member
Posts: 93
Reputation Power: 4
Status: Offline
Joined: Apr 01, 201014Year Member
Posts: 93
Reputation Power: 4
better yet make one that takes away xp then kicks
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Mar 14, 201014Year Member
Posts: 486
Reputation Power: 20
Status: Offline
Joined: Mar 14, 201014Year Member
Posts: 486
Reputation Power: 20
iamdetox wrote better yet make one that takes away xp then kicks
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
bump
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Bump. WANT TO KNOW IF THIS WORKS! ;(
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Status: Offline
Joined: Feb 06, 201014Year Member
Posts: 55
Reputation Power: 2
Bump...
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.