SA-MP Forums Archive
tele help - 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: tele help (/showthread.php?tid=112667)



tele help - TouR - 09.12.2009

Can someone give me the coords of lvpd jail And tell me the interior i got to use..... Something like this:

SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, x, ,y, z);


Re: tele help - Lajko1 - 09.12.2009

try with command and than type /save save command is in 0.3 filterscripts if i am right

Код:
if (strcmp("/move", cmdtext, true, 10) == 0)
	{
  new Float:x, Float:y, Float:z;
  // Get Player Position
  GetPlayerPos(playerid, x, y, z);

  SetPlayerPos(playerid,x+random(5), y+random(5), z+random(5));
  }
  return 0;
}
and go to jail cells and try so much time to enter the jail cell ,works for me great but i dont need the coords for jail cells i am using this for other things ^^


Re: tele help - Jeffry - 09.12.2009

pawn Код:
SetPlayerPos(playerid, 197.6314,175.2758,1003.0234);
SetPlayerInterior(playerid, 1);
SetPlayerFacingAngle(playerid, 0);

Thats it...

Cheers