SA-MP Forums Archive
How can i do this - 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 can i do this (/showthread.php?tid=146907)



How can i do this - Torran - 09.05.2010

How can i get what Z the ground is for that area then plant a light below that Z aka below the ground?


Re: How can i do this - Conroy - 09.05.2010

Can't you just go into samp debug, get the co ords then minus 1 or 2 from the Z?


Re: How can i do this - Fj0rtizFredde - 09.05.2010

I think you can do it with the MapAndreas plugin


Re: How can i do this - Torran - 09.05.2010

Quote:
Originally Posted by Conroy
Can't you just go into samp debug, get the co ords then minus 1 or 2 from the Z?
No because its for wherever the player is standing


Re: How can i do this - Conroy - 09.05.2010

pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
CreateObject(..., Z-1); //or Z-2, just see what works best



Re: How can i do this - SloProKiller - 09.05.2010

Try the MapAndreas plugin.