15.07.2011, 21:48
Use /save to save coordinates. It works even when you're inside a interior. You can retrieve the coordinates from the "savedcoordinates.txt" from your GTA Userfiles.
You can get your interior by entering the /interior command.
You can get your interior by entering the /interior command.
pawn Код:
if (strcmp("/enter", cmdtext, true, 0) == 0)
{
SetPlayerPos(playerid,X,Y,Z);//Change X,Y,Z to the interior position
SetPlayerInterior(playerid, 1);//Change 1 to the interior id
GameTextForPlayer(playerid, "~w~Welcome to ~rCluck'n'Bell", 3000, 1);
return 1;
}