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:

XInt3rvention
  • Junior Member
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
#2. Posted:
iamdetox
  • Junior Member
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
#3. Posted:
impactzj
  • Powerhouse
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
#4. Posted:
XInt3rvention
  • Junior Member
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
#5. Posted:
XInt3rvention
  • Junior Member
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! ;(
#6. Posted:
XInt3rvention
  • Junior Member
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...
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.