Stackbot Raw Files

Have a question you need to ask? Need help? Ask here!

Moderator: Core Staff

User avatar
mik3yb
CJ Wannabe
CJ Wannabe
Posts: 38
Joined: October 4th, 2010, 1:18 am
Location: Ontario

Re: Stackbot Raw Files

Post by mik3yb » December 10th, 2010, 7:30 pm

I'm guessing thats u is it? :D
Image

User avatar
mik3yb
CJ Wannabe
CJ Wannabe
Posts: 38
Joined: October 4th, 2010, 1:18 am
Location: Ontario

Re: Stackbot Raw Files

Post by mik3yb » December 10th, 2010, 11:17 pm

i just wanna kick 'em at the end of every round .... and then get them back the next. so i don't get shitloads after the server has been running for a while. would this work?

Code: Select all

if(self getGuid() == "") // Bots GUID is always null
{
     kick(self getEntityNumber());
}
I don't totally understand how the syntax for kick works. Whether a client can kick themselves or the server has to kick them. if so how would i get the bots entity to the server for the kick. BTW thnx killersam i did implement some of the above code. :D
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests