SA-MP Forums Archive
Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error (/showthread.php?tid=274758)



Error - a_big - 07.08.2011

I get this

Complier said it was fine but it crashed


Re: Error - Calgon - 07.08.2011

Re-compile your script with the latest SA-MP includes and the pawncc compiler included in the SA-MP package.


Re: Error - a_big - 07.08.2011

Forgot that the complier froze for a quarter of a second would that affect anything?


Re: Error - Calgon - 07.08.2011

No, it's only the GUI that temporarily lags and causes the compiler window to partially 'freeze'. Try compiling your script by reproducing the steps I stated above.


Re: Error - a_big - 07.08.2011

Код:
new RandomSpawn1 = random(3);
if (RandomSpawn1 == 0)
{
SetPlayerPos(playeri,2020.89404297,1916.56982422,11.94929695);
}
if (RandomSpawn1 == 1)
{
SetPlayerPos(playerid,2262.87792969,1826.13305664,28.07186890);
}
if (RandomSpawn1 == 2)
{
SetPlayerPos(playerid,2155.35693359,1827.00402832,-905.52105713);
}
This part of my code is causing my complier to crash without it gamemode works fine server starts fine.