SA-MP Forums Archive
samp crash when I change virtual world and use CameraPos at same time - 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: samp crash when I change virtual world and use CameraPos at same time (/showthread.php?tid=650335)



samp crash when I change virtual world and use CameraPos at same time - Saddin - 25.02.2018

This is code:

PHP Code:
SetPlayerVirtualWorld(playerid99);
        
SetPlayerCameraPos(playerid1549.8743, -1704.250210.9611);
SetPlayerCameraLookAt(playerid1550.7019, -1704.818610.6960); 
And my client crash when this got executed.


Re: samp crash when I change virtual world and use CameraPos at same time - AstroPoid - 25.02.2018

Did you try to make a cooldown between them ? it not, try and send us results. i'm pretty sure thats out of this code , try to look on all functions changing playervw or camerapos's