Two Questions Regarding MySQL - 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: Two Questions Regarding MySQL (
/showthread.php?tid=510652)
Two Questions Regarding MySQL -
Jay_Dixon - 01.05.2014
So I finally worked out a simple login system, except, it kicks me after I register, and doesn't save it in the database like I set it up to do. Was hoping someone would be able to look at it for me or something, I can't exactly pin point the problem though without posting all 600 lines or whatever it is. Second:
Script[gamemodes/nnrp.amx]: Run time error 20: "Invalid index parameter <bad entry point>"
^ Can someone tell me what that means? The script runs fine, apart from the error before this message, but yeah.
Re: Two Questions Regarding MySQL -
Vince - 01.05.2014
That simply means that you don't have main() {} in your gamemode. It must be there, even if it's empty.
Re: Two Questions Regarding MySQL -
Jay_Dixon - 01.05.2014
Quote:
Originally Posted by Vince
That simply means that you don't have main() {} in your gamemode. It must be there, even if it's empty.
|
Got anything about my SQL issue? I've been going at this for almost 3 days now and I still have a problem with that =[
It create's the profile in the `userfiles`, but doesn't save any of the info in the `userstrings`, then kicks me when i type a pass in =[