TextDraw 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)
+--- Thread: TextDraw Help (
/showthread.php?tid=514873)
TextDraw Help -
mirou123 - 23.05.2014
I am trying to make a draggable TextDraw but I have no idea how to get the cursor's position. I also don't know anything about the math used to get this done. So it would be great if you can give me a script that I can look at and figure out how it works.
Re: TextDraw Help -
ball - 23.05.2014
iTD script have something like this, check it.
Re : TextDraw Help -
mirou123 - 23.05.2014
Well I only have the .amx so...I can't use that.
Re : TextDraw Help -
mirou123 - 24.05.2014
I just checked iTD script and all I could find is this
Код:
native GetVirtualKeyState(key);
native GetScreenSize(&Width, &Height);
native GetMousePos(&X, &Y);
But I can't find where are they implemented...I also think that GetVirtualKeyState(key); returns keys like A,Z,E,R....I thought that was not possible in PAWN?