SA-MP Forums Archive
2D (X, Y Screen) to 3D (X, Y, Z object) - 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)
+--- Thread: 2D (X, Y Screen) to 3D (X, Y, Z object) (/showthread.php?tid=425606)



2D (X, Y Screen) to 3D (X, Y, Z object) - adri1 - 26.03.2013

How I can create this:

pawn Код:
native GetScreenSize(&Width, &Height);
native GetMousePos(&X, &Y);
(iPleomax plugin)

ok how this:


x mouse (2D) to x object (3D)
y mouse (2D) to y object (3D)
xy mouse (2D) to z object (3D)

Is it possible?

PD: Sorry my bad english.

EDIT:
I found this in wikipedia:




that could help me?


Respuesta: 2D (X, Y Screen) to 3D (X, Y, Z object) - adri1 - 26.03.2013

Please help.