OnPlayerSpawn - AMX Backtrace - 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: OnPlayerSpawn - AMX Backtrace (
/showthread.php?tid=623680)
OnPlayerSpawn - AMX Backtrace -
TheHonnor - 03.12.2016
OnPlayerSpawn: Photo:
http://imgur.com/a/HPGxo
Console:Photo:
http://imgur.com/a/tyQeZ
Re: OnPlayerSpawn - AMX Backtrace -
Alvitr - 03.12.2016
have you compile that with -d3 tag?
and..this just i guess,
could you show your LoadGroupForPlayer please?
Re: OnPlayerSpawn - AMX Backtrace -
TheHonnor - 03.12.2016
1. What about that "-d3 tag?"
2. Sure! Here:
http://imgur.com/a/d2CGL
Re: OnPlayerSpawn - AMX Backtrace -
Tass007 - 03.12.2016
There's an array that's set at 13. Yet you aren't checking something; weather that's if Player ID is valid before using said array. I suggest look through your arrays and find one that is defined as 13. Then go to your OnPlayerSpawn and before you use that array make sure Player ID is valid.
Re: OnPlayerSpawn - AMX Backtrace -
Alvitr - 03.12.2016
https://github.com/Zeex/samp-plugin-...ith-debug-info
Quote:
-d<num> debugging level (default=-d1)
0 no symbolic information, no run-time checks
1 run-time checks, no symbolic information
2 full debug information and dynamic checking
3 same as -d2, but implies -O0
|
if not,
maybe you should add it and compile again.
Re: OnPlayerSpawn - AMX Backtrace -
TheHonnor - 03.12.2016
I have added "-d3" tag in folder "pawno -> pawn.cfg" and..:
http://imgur.com/a/ujDOM
Re: OnPlayerSpawn - AMX Backtrace -
Tass007 - 03.12.2016
What's the warning?