SA-MP Forums Archive
Why does it crash? - 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: Why does it crash? (/showthread.php?tid=399955)



Why does it crash? - jNkk - 16.12.2012

hello
When I'm in the skin selection, I can choose skins I put, but when I reach skin 23, I crash.
Here is my code:

Код:
//===============================[CLASSES]================================//
	AddPlayerClass(7, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(12, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(18, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(19, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(20, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(21, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(22, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(23, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);//this
	AddPlayerClass(29, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(30, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(40, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(41, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(47, -1825.3901, 540.6253, 150.8125, 126.0199, 0, 0, 0, 0, 0, 0);
And so on with skins.
Pawno doesn't send any errors and everything is fine
I am using teams too, could it be it? But I checked and nothing's suspicious.

Thank you.


Re: Why does it crash? - Konstantinos - 16.12.2012

Client crash or Server crash?


Re: Why does it crash? - jNkk - 16.12.2012

Client


Re: Why does it crash? - Mike_Peterson - 16.12.2012

Removing playerclass 23, check whether you still crash while cycling through the classes.
if you still crash, post the team-codes


Re: Why does it crash? - Konstantinos - 16.12.2012

Before doing what Mike said, can you post the opcodes you got during the crash. They're located to
pawn Код:
My Documents\GTA San Andreas User Files\SAMP\chatlog.txt



Re: Why does it crash? - Forever Alone - 16.12.2012

Any mods installed?


Re: Why does it crash? - jNkk - 16.12.2012

No mods, please wait 10 minutes, I'm going to post all codes I got about skins. First, I'm trying to remove GameText from some skins because I put it randomly hoping it work, it didn't, so I will remove it and see.


Re: Why does it crash? - jNkk - 16.12.2012

Nevermind, I tried removing the GameText and it worked, but some people say it works.
I just put some unuseful stuff there and I though nothing is wrong.

Thank you.
[SOLVED]