SA-MP Forums Archive
Yellow markers, 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: Yellow markers, HELP! (/showthread.php?tid=328314)



Yellow markers, HELP! - Subwoofer - 24.03.2012

So, i added house buyng system but i have yellow markers on Cj's house etc, how can i remove them from my server?


Re: Yellow markers, HELP! - Kindred - 24.03.2012

DisableInteriorEnterExits();

Disables the yellow markers that allows entering in single player.

EDIT: Forgot to add, place DisableInteriorEnterExits(); under OnGameModeInit, so it should look like this.

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    //Rest of script
    return 1;
}



Re: Yellow markers, HELP! - Twisted_Insane - 24.03.2012

Add the following line under "OnGameModeInit":

pawn Код:
DisableInteriorEnterExits();



Re: Yellow markers, HELP! - Subwoofer - 24.03.2012

Quote:
Originally Posted by KurtBag
Посмотреть сообщение
DisableInteriorEnterExits();

Disables the yellow markers that allows entering in single player.

EDIT: Forgot to add, place DisableInteriorEnterExits(); under OnGameModeInit, so it should look like this.

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    //Rest of script
    return 1;
}
Thank you, it realy helped me ^_^


Re: Yellow markers, HELP! - Subwoofer - 24.03.2012

Quote:
Originally Posted by KurtBag
Посмотреть сообщение
DisableInteriorEnterExits();

Disables the yellow markers that allows entering in single player.

EDIT: Forgot to add, place DisableInteriorEnterExits(); under OnGameModeInit, so it should look like this.

pawn Код:
public OnGameModeInit()
{
    DisableInteriorEnterExits();
    //Rest of script
    return 1;
}
And Rep+ too for you


Re: Yellow markers, HELP! - HaiderABbas - 25.04.2013

i want same thing but only for houses not for ammunation also....it removes ammunation also


Re: Yellow markers, HELP! - Avi Raj - 25.04.2013

It cant Happen.
One thing can Happen.
Remove first of all for alla nd then add your icon on ammo shops.


Re: Yellow markers, HELP! - lQs - 25.04.2013

Quote:
Originally Posted by HaiderABbas
Посмотреть сообщение
i want same thing but only for houses not for ammunation also....it removes ammunation also
impossible to do.