SA-MP Forums Archive
Is this normal? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is this normal? (/showthread.php?tid=337075)



Is this normal? - Dripac - 24.04.2012

Hey, i just wanted to ask if it's normal that when you have 20 bots in your server, they all connect on server startup and then when you join sometimes you have ID 0, sometimes ID 4 etc...

I have 20 bots

Shouldn't i always connect with id 21 ?


Re: Is this normal? - tiernantheman - 24.04.2012

You could get in before the bots making you a lower ID


Re: Is this normal? - Dripac - 24.04.2012

... It doesn't matter if i join before or after bots

I always have ID 0, 3 or random, but i should have ID 21, shouldn't i?


Re: Is this normal? - WarriorEd22 - 24.04.2012

If the bot disconnects for some reason and you join right when the bot leaves, you replace that ID. Then the bot may join right after you which makes it the next ID which is ID 21.


Re: Is this normal? - WLSF - 24.04.2012

https://sampwiki.blast.hk/wiki/NPC:Main_Page

I think they use a slot like a normal player, but the name already tells

( Non-Playing Characters )

Try to read that link, i think the NPC normally uses a Slot ...