SA-MP Forums Archive
Disabling yellow door markers on 1 location - 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: Disabling yellow door markers on 1 location (/showthread.php?tid=165986)



Disabling yellow door markers on 1 location - Rolyy - 06.08.2010

Title says it all, Is there any way to disable yellow door markers on just 1 location..?
and is there any other way to disable the character from entering the door entrance/exit?

Thanks,
Rolyy


Re: Disabling yellow door markers on 1 location - Toni - 06.08.2010

well, to disable all of them
pawn Код:
DisableInteriorEnterExits(); //Under OnGameModeInIt



Re: Disabling yellow door markers on 1 location - westre - 06.08.2010

Quote:
Originally Posted by The Toni
Посмотреть сообщение
where, to disable all of them
pawn Код:
DisableInteriorEnterExits(); //Under OnGameModeInIt
He wants to disable 1 location, not all of them.

AFAIK, you can't disable one location, your best bet would be to place objects infront of it IMO.


Re: Disabling yellow door markers on 1 location - Toni - 06.08.2010

Quote:
Originally Posted by westre
Посмотреть сообщение
He wants to disable 1 location, not all of them.

AFAIK, you can't disable one location, your best bet would be to place objects infront of it IMO.
Yes I know, I can read, but I was just saying.


Re: Disabling yellow door markers on 1 location - Rolyy - 07.08.2010

Hmm too bad, But I'm thinking of placing a pickup after the character leaves the door.

Example:
Character in ammunation, Character leaves from the door.
And his position gets setted to Los Santos Main Ammunation entrance.
Exactly at the entrance where the player gets teleported, Will be the pickup..
The pickup makes you teleport to the location you want to have it.

I'm going to try this right now..
I'm gonna give a feedback if this works and looks pretty good.


Re: Disabling yellow door markers on 1 location - Rolyy - 07.08.2010

Sorry about double post, Ill just disable all the markers.
No feedback about the last idea, But if someone willing to try it out and could give a feedback it would be nice for the others to know and read about it.

And thanks both for atleast replying .


Re: Disabling yellow door markers on 1 location - Claude - 07.08.2010

You can use this, don't think it will work, but just give i'd just give it a try:

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, x_s, y_s, z_s)) // The "s" means "shop", you MUST enter the coordinates from the middle of the shop arrow
    {
        SetPlayerPos(playerid, x_s+3, y_s+3, z_s); // this generates automatically the coordinates of what you did above, but multiply it by +3
        SetPlayerInterior(playerid, 0); // 0 (outside) doesn't cause bugs or any other faults
    }



Re: Disabling yellow door markers on 1 location - Yuvalino - 05.12.2010

You cant Disable yellow markers but you can disable all and download CP streamer and add Checkpoints that link to Interior