[HELP] /enter and /exit + Deleting markers - Godfather
#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


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)