SA-MP Forums Archive
Is possible? - 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: Is possible? (/showthread.php?tid=87132)



Is possible? - Geekzor - 18.07.2009

is possible to remove ''food sellers'' and man who is inside ammonation, etc is possible to do that ?


Re: Is possible? - Correlli - 18.07.2009

No.


Re: Is possible? - Sergei - 18.07.2009

Quote:
Originally Posted by Don Correlli
No.
....


Код:
DisableInteriorEnterExits();
It will also delete yellow arrows with which you can enter interiros if you don't have any custom script, but NPC's in buildings will be deleted too (except casinos).


Re: Is possible? - JadedJ - 18.07.2009

I'm sure it is possible since I've seen it in some servers, maybe using DisableInteriorEnterExits().
https://sampwiki.blast.hk/wiki/DisableInteriorEnterExits

Then making your own entrance and link them a particular interior...maybe I'm just guessing.
Good Luck


Re: Is possible? - Correlli - 18.07.2009

Quote:
Originally Posted by Sergiy
Код:
DisableInteriorEnterExits();
That will just disable interior enters/exits. He asked if there is any way to remove NPCs from interiors.
And my answer is correct: No.

But you can disable enters/exits and use custom script.


Re: Is possible? - Geekzor - 18.07.2009

so if i use

DisableInteriorEnterExits();

it will remove npcs too ?


Re: Is possible? - Correlli - 18.07.2009

Quote:
Originally Posted by Geekzor
so if i use

DisableInteriorEnterExits();

it will remove npcs too ?
In one way it will, but you will need to make custom enter/exit script then.


Re: Is possible? - weedarr - 18.07.2009

If you remove the entrances and teleport the people inside I'm pretty sure it removes the npc's.

WeeDarr


Re: Is possible? - Geekzor - 18.07.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Geekzor
so if i use

DisableInteriorEnterExits();

it will remove npcs too ?
In one way it will, but you will need to make custom enter/exit script then.
ye i wanna make that ^^ i know it will be a hard


Re: Is possible? - Anarkien - 18.07.2009

Quote:
Originally Posted by Geekzor
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Geekzor
so if i use

DisableInteriorEnterExits();

it will remove npcs too ?
In one way it will, but you will need to make custom enter/exit script then.
ye i wanna make that ^^ i know it will be a hard
Not hard at all.
Just check the last coded script/code here:
http://forum.sa-mp.com/index.php?top...4599#msg634599