Mysql Help - 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: Mysql Help (
/showthread.php?tid=563906)
Mysql Help -
Alex_T - 18.02.2015
Hello I have a table for characters for multiple characters. Now when I try to register a character. I get an error in query because of no default value in x cord. Now I dont want a default value as I want it set in later future. How do I fix that? Thanks for the help.
Re: Mysql Help -
PaulDinam - 18.02.2015
Set the default value to either the spawn point or just 0.0, then later on you can change it.
Re: Mysql Help -
Alex_T - 18.02.2015
Okay, but there is no way to like bypass with no default, just set them later correct.
Re: Mysql Help -
PaulDinam - 18.02.2015
It doesn't matter whether there's a default value or not, you're going to change it either way.
You can also include those column in your insert query.
Re: Mysql Help -
X337 - 18.02.2015
Set default value on x cord column in your table.