How to get inrerior crodds - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to get inrerior crodds (
/showthread.php?tid=269293)
How to get inrerior crodds -
[MKD]Max - 15.07.2011
hello i make this topic for i get help from you guys how i can get the croods of the interior so when i enter it its tell me in GameText the place for example i enter pizza co interior its write behind Pizza Co
Re: How to get inrerior crodds -
Adil - 15.07.2011
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.
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;
}
Re: How to get inrerior crodds -
[MKD]Max - 15.07.2011
Adil i was to say you when i need to make the zone for it i need to but the
min x, min y, min z, max x, max y, max z