How i can change the id of bots?
#1

-Title-
Reply
#2

I don't think you can.
Reply
#3

Hmm...
If i create 499 bots and set my bot in id 500, and delete (kick) the 499 bots.. It's can to work?
Reply
#4

Quote:
Originally Posted by Injection
Hmm...
If i create 499 bots and set my bot in id 500, and delete (kick) the 499 bots.. It's can to work?
gl creating 499 bots.
Reply
#5

Quote:
Originally Posted by » Pawnst★r «
Quote:
Originally Posted by Injection
Hmm...
If i create 499 bots and set my bot in id 500, and delete (kick) the 499 bots.. It's can to work?
gl creating 499 bots.
?

pawn Код:
for(new i; i < 499; i++)
{
   new string[7];
   format(string,sizeof(string),"Bot%d",i);
   ConnectNPC(string,"npcidle");
}
ConnectNPC("MyRealBot","myscript");
for(new i; i < 499; i++)
{
   Kick(i);
}
P.S: Id's only go up to 499
Reply
#6

Quote:
Originally Posted by JaTochNietDan
Quote:
Originally Posted by » Pawnst★r «
Quote:
Originally Posted by Injection
Hmm...
If i create 499 bots and set my bot in id 500, and delete (kick) the 499 bots.. It's can to work?
gl creating 499 bots.
?

pawn Код:
for(new i; i < 499; i++)
{
   new string[7];
   format(string,sizeof(string),"Bot%d",i);
   ConnectNPC(string,"npcidle");
}
ConnectNPC("MyRealBot","myscript");
for(new i; i < 499; i++)
{
   Kick(i);
}
P.S: Id's only go up to 499, you must include 0 :P
Yeah then you'd have laggiest server in the history of SA:MP. 499 bots? Ok lol .. Isn't this a hard way of changing the id of one bot you have to use 499 player slots?
Reply
#7

It only needs to be called when the server is loading, and he was asking if he could do that and I showed him he can
Reply
#8

Quote:
Originally Posted by JaTochNietDan
It only needs to be called when the server is loading, and he was asking if he could do that and I showed him he can
I'm not being an ass or anything (at least not intentionally ) but I just think that is a bad idea. :+
Reply
#9

Quote:
Originally Posted by » Pawnst★r «
Quote:
Originally Posted by JaTochNietDan
It only needs to be called when the server is loading, and he was asking if he could do that and I showed him he can
I'm not being an ass or anything (at least not intentionally ) but I just think that is a bad idea. :+
Well every single one of the 499 excess bots are being kicked right after the connecting is done, so I personally don't see it as much of an issue if you really want to get your bot to have ID 499, not unless you restart your server a few times an hour or something, this would only take seconds to finish executing
Reply
#10

Quote:
Originally Posted by JaTochNietDan
Quote:
Originally Posted by » Pawnst★r «
Quote:
Originally Posted by JaTochNietDan
It only needs to be called when the server is loading, and he was asking if he could do that and I showed him he can
I'm not being an ass or anything (at least not intentionally ) but I just think that is a bad idea. :+
Well every single one of the 499 excess bots are being kicked right after the connecting is done, so I personally don't see it as much of an issue if you really want to get your bot to have ID 499, not unless you restart your server a few times an hour or something, this would only take seconds to finish executing
Hmm, maybe it would be ok .. I mean, I suppose it would thinking about it. :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)