SA-MP Forums Archive
How to disable sa-mp bots? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to disable sa-mp bots? (/showthread.php?tid=154981)



How to disable sa-mp bots? - sushihusi - 16.06.2010

Hello!
I need to kill bots in ammunation and in clucking bell, burger shot,...
I there is a restart, they dont spawn.
I tried to set the player's interior to other interior but it doesn't works. Same with virtual worlds.
But is there any way to kill them?


Re: How to disable sa-mp bots? - WSD - 16.06.2010

No Physical way you could but you could create an NPC in those places that could die.


Re: How to disable sa-mp bots? - Carlton - 16.06.2010

This function removes those markers, but I'm not certain though, if they also remove the NPCs, besides in the 4 Dragons Casino: DisableInteriorEnterExits();


Re: How to disable sa-mp bots? - sushihusi - 16.06.2010

But is there a way to disable them withouth DisableInteriorEnterExist(); ?
I am not talking about a function but about a way. I noticed that is i teleport to ammunation with a command, there isn't that guy who sells weapons.
But if i do it with OnPlayerInteriorChange, it doesnt works.


Re: How to disable sa-mp bots? - Carlton - 16.06.2010

Quote:
Originally Posted by Bart_Simpson
But is there a way to disable them withouth DisableInteriorEnterExist(); ?
I am not talking about a function but about a way. I noticed that is i teleport to ammunation with a command, there isn't that guy who sells weapons.
But if i do it with OnPlayerInteriorChange, it doesnt works.
No, the best thing you can do is put a gate around them or somehow block the checkpoints that talk to them.


Re: How to disable sa-mp bots? - c-middia - 16.06.2010

or just map new ints and beam your players there