SA-MP Forums Archive
Crashing sa:mp on spawn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Crashing sa:mp on spawn (/showthread.php?tid=586012)



Crashing sa:mp on spawn - xXDuno2000ManXx - 18.08.2015

Hello i have a problem when i'm connect to my server and move with camera more than 90° my game crash without any error. It's doing only on my server how i can fix it ? it's error in code ? or in game ?


Re: Crashing sa:mp on spawn - Michael B - 18.08.2015

It is obviously something wrong with your server. I had the same problem with my former server. There was placed a dynamic gate which had as object an improper object, and used to crash my client each time I was approaching to the object. After removing the gate, everything was fine, so search for similar issues.


Re: Crashing sa:mp on spawn - xXDuno2000ManXx - 18.08.2015

Yes i'm fix it it's problem in OnGameModeInt on line with :
Код:
AddPlayerClass(0, 2273.7715,84.1059,26.4844,355.90995, 0, 0, 0, 0, 0, 0);
change to :
Quote:

AddPlayerClass(20, 2273.7715,84.1059,26.4844,355.90995, 0, 0, 0, 0, 0, 0);

(2273.7715,84.1059,26.4844,355.90995, are my coordinates)


Re: Crashing sa:mp on spawn - xXDuno2000ManXx - 18.08.2015

I don't know why but it was fixed for me