SA-MP Forums Archive
basic help - 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: basic help (/showthread.php?tid=416986)



basic help - akki - 19.02.2013

sorry for asking this question but i dont know about it at all
well i just started my new gamemode and i have removed all the possible filterscripts from the server.cfg file
but still some features are there that i dont want like
the interior for the ammunation in LS, and also in that there is a NPC with a checkpoint near it.
similarly there are a few interiors for general stores also in it.
how to remove them all please help


Re: basic help - LarzI - 19.02.2013

Ammunation-stores are hard-coded into the game. I am not fully sure if it is possible to remove interiors, but at least you can try, using https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

Creating NPCs is easy! Just browse the tutorials section - there are tutorials out there!

Checkpoints are even easier - just use a streamer or make your own "streamer".


Re: basic help - Maraudeur - 19.02.2013

I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit
pawn Код:
DisableInteriorEnterExits();



Re: basic help - akki - 19.02.2013

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Ammunation-stores are hard-coded into the game. I am not fully sure if it is possible to remove interiors, but at least you can try, using https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

Creating NPCs is easy! Just browse the tutorials section - there are tutorials out there!

Checkpoints are even easier - just use a streamer or make your own "streamer".
i think you understood me a bit different
i mean i want to completely remove the interiors in which player enter (i mean the one with yellow marker at the entry gate) and the link you have told me removes the building not the interior.


Re: basic help - LarzI - 19.02.2013

Quote:
Originally Posted by akki
Посмотреть сообщение
i think you understood me a bit different
i mean i want to completely remove the interiors in which player enter (i mean the one with yellow marker at the entry gate) and the link you have told me removes the building not the interior.
Indeed I did. The guy above has the answer for that one:
Quote:
Originally Posted by Maraudeur
Посмотреть сообщение
I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit
pawn Код:
DisableInteriorEnterExits();



Re: basic help - akki - 19.02.2013

Quote:
Originally Posted by Maraudeur
Посмотреть сообщение
I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit
pawn Код:
DisableInteriorEnterExits();
thanks a lot