Player registration not working with MySQL

Post Reply
Ragonz
Site Admin
Posts: 669
Joined: Sat Apr 20, 2013 11:16 pm

Player registration not working with MySQL

Post by Ragonz » Tue Feb 17, 2015 3:31 pm

Ensure that your player registration tables have default values assigned to each value the table requires otherwise the script that runs in many game modes will not work.

What happens if you have a player data table that looks something like this

First name - Last name - Gang - a - b - c - d etc etc

If the script only passes first name, last name and gang to the database and you don't have default values for the other columns (in this case a,b,c and d) the database will go "hold on a sec, what are the values for those columns? no idea ok I give up.
Grab a game server from us by clicking the picture below
Image
Got an issue? Submit a Support Ticket

Post Reply

Return to “San Andreas Multiplayer”