SA-MP Forums Archive
Destroy default pickup - 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: Destroy default pickup (/showthread.php?tid=376745)



Destroy default pickup - T_Boy - 11.09.2012

Hello!
I wanna set this interior as the VLA's HQ: http://weedarr.wdfiles.com/local--fi...urhbergers.jpg
But, I want to remove the default singleplayer pickup in this interior, or to make it unaccesible.


Re: Destroy default pickup - Hyperfire - 11.09.2012

IIRC, use this under OnGameModeInit or OnFilterscriptInit.

DisableInteriorEnterExits();


Re: Destroy default pickup - lamarr007 - 11.09.2012

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    return 1;
}



Re: Destroy default pickup - T_Boy - 11.09.2012

But I want to remove only that pickup, not all of them!


Re: Destroy default pickup - Hyperfire - 11.09.2012

As far as I know, thats the only way in removing standard interior pickups, sorry man, you will have to manually put the other ones back.