Disabling yellow door markers on 1 location
#1

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
Reply
#2

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

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.
Reply
#4

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.
Reply
#5

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.
Reply
#6

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 .
Reply
#7

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
    }
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)