PawnCommand(&GetPlayerPos... in a thread CRASHES!!! - 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: Plugin Development (
https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: PawnCommand(&GetPlayerPos... in a thread CRASHES!!! (
/showthread.php?tid=87938)
PawnCommand(&GetPlayerPos... in a thread CRASHES!!! -
XPlatform - 23.07.2009
Hi,
I'm having a little problem. This:
Code:
float x, y ,z;
PawnCommand(&GetPlayerPos,p,&x,&y,&z);
in a one second thread, causes a crash in about 5 mins.
I tested the exact same thing, without those lines, and it runs much longer, it didn't crash at all.
Anyone know why that causes a crash?
Thanks in advance
PS: i was looking for a object streamer, to see how it was implemented in there, but i couldn't find any.
Re: PawnCommand(&GetPlayerPos... in a thread CRASHES!!! -
XPlatform - 23.07.2009
Ok, thanks for the info.