[HELP] /enter and /exit + Deleting markers - Godfather
#1

Hi. I need help with deleting markers in your scipt and making /enter and /exit commands for entering and exiting interiors.
In Godfather you just need to walk into the marker, but I want to delete this marker and make a pickup for /enter nad inside the interior the /exit pickup. Can someone tell me how to do this and if you don't understand the quiestion, please ask.

GloomY, thanks.
Reply
#2

Quote:
Originally Posted by GloomY™
Hi. I need help with deleting markers in your scipt and making /enter and /exit commands for entering and exiting interiors.
In Godfather you just need to walk into the marker, but I want to delete this marker and make a pickup for /enter nad inside the interior the /exit pickup. Can someone tell me how to do this and if you don't understand the quiestion, please ask.

GloomY, thanks.
Actually in Godfather you need to use /enter in order to enter a place.
I think you meant LARP Gamemode [It's based on Godfather but it has many changes].
Just add this to OnPlayerCommandText
pawn Код:
if (PlayerToPoint(4.0, playerid,X,Y,Z))
{
    SetPlayerInterior(playerid,InteriorID);
    SetPlayerPos(playerid,X,Y,Z);
}
And the same to /exit, just replace the coords.
Then look for CheckForWalkingTeleport public, and REMOVE it.
Reply
#3

Well, im sure I'm using Godfather, in the script you just need to walk to the marker (yellow triangle) and it will teleport you to interior, like 24/7 store. So I want to make /enter and /exit, not just walking inside like in singleplayer.

GloomY, thanks.
Reply
#4

Код:
DisableInteriorEnterExits ();
to disable markers ??
Reply
#5

Put this under OnGamemodeInIt() public

pawn Код:
DisableInteriorEnterExits();
You should have just told us that you want to remove the yellow arrows, it's not a pickup.
Reply
#6

Ok, thanks. Now I want to make a pickup on the place where the marker was.
The pickup for entering the 24/7 store and other things, so when I walk to the pickup I have to type /enter to enter it.

GloomY, thanks.
Reply
#7

No need for help, I understand it now, thanks Teddy and Deo. This topic can be locked.

GloomY
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)