Login Problem - 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: Login Problem (
/showthread.php?tid=600327)
Login Problem -
jonny121212 - 06.02.2016
After i login to my account in samp the server crash and the logs say:
[14:35:18] [debug] Server crashed while executing KRP.amx
[14:35:18] [debug] AMX backtrace:
[14:35:18] [debug] #0 ffffffff in public OnPlayerExitedMenu () from KRP.amx
Re: Login Problem -
Joron - 06.02.2016
Quote:
Originally Posted by jonny121212
After i login to my account in samp the server crash and the logs say:
[14:35:18] [debug] Server crashed while executing KRP.amx
[14:35:18] [debug] AMX backtrace:
[14:35:18] [debug] #0 ffffffff in public OnPlayerExitedMenu () from KRP.amx
|
Isnt there a error in your script?
Re: Login Problem -
jonny121212 - 06.02.2016
no there is no warnings in the script
and sometimes im ingame for 5 sec and THEN its crash
Re: Login Problem -
Sascha - 06.02.2016
Would help if you posted your "OnPlayerExitedMenu" code here then, otherwise all we can say is: You might be having a code failure in "OnPlayerExitedMenu"
Note: A compiler will only return an error, if the code really is false. Which means if you used wrong syntax, or used words that don't exists. It will not give you an error if your code simply is crap.
E.g. a sentence like "Tree will kick House's radio" is grammatically and judged by the words a correct sentence, although it makes no sense. If you use this as a metaphor for your script, it would be compiled without errors
Re: Login Problem -
jonny121212 - 06.02.2016
Quote:
Originally Posted by Sascha
Would help if you posted your "OnPlayerExitedMenu" code here then, otherwise all we can say is: You might be having a code failure in "OnPlayerExitedMenu"
Note: A compiler will only return an error, if the code really is false. Which means if you used wrong syntax, or used words that don't exists. It will not give you an error if your code simply is crap.
E.g. a sentence like "Tree will kick House's radio" is grammatically and judged by the words a correct sentence, although it makes no sense. If you use this as a metaphor for your script, it would be compiled without errors 
|
wich file i should cope? tell me and ill do it
Re: Login Problem -
Joron - 06.02.2016
Quote:
Originally Posted by jonny121212
wich file i should cope? tell me and ill do it
|
Open your pawno/script press ctrl+f and write OnPlayerExitedMenu inside the box and cnp everything under that callback
Re: Login Problem -
jonny121212 - 06.02.2016
Quote:
Originally Posted by Joron
Open your pawno/script press ctrl+f and write OnPlayerExitedMenu inside the box and cnp everything under that callback
|
it didnt found nothing
Re: Login Problem -
Joron - 06.02.2016
Quote:
Originally Posted by jonny121212
it didnt found nothing
|
Doesnt your script has anything with OnPlayerExitedMenu?
Re: Login Problem -
jonny121212 - 06.02.2016
ikr...