PDA

View Full Version : basic help


akki
19/02/2013, 07:36 AM
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

LarzI
19/02/2013, 08:26 AM
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 http://wiki.sa-mp.com/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".

Maraudeur
19/02/2013, 08:31 AM
I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit

DisableInteriorEnterExits();

akki
19/02/2013, 08:34 AM
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 http://wiki.sa-mp.com/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.

LarzI
19/02/2013, 08:38 AM
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: I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit

DisableInteriorEnterExits();

akki
19/02/2013, 08:39 AM
I believe he wants to remove the enter/exit pickups that are standard, not remove the buildings.
Place this under OnGameModeInit

DisableInteriorEnterExits();


thanks a lot