29.04.2010, 17:31
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. |
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);
}
Then look for CheckForWalkingTeleport public, and REMOVE it.