Posts: 256
Threads: 48
Joined: Apr 2009
Reputation:
0
When retrieving colors from MySQL and setting it on login how do I store it properly and call it properly?
Posts: 725
Threads: 4
Joined: Nov 2010
Reputation:
0
Why from MySQL?
Put it in a simple Include and It'll be much easier, and what do you mean by LOGIN?
Posts: 256
Threads: 48
Joined: Apr 2009
Reputation:
0
I'm saving the playercolors to MySQL, and no I'm not going to make any stupid include. I'm just wondering how I can set them properly without it always returning 0. If I do a printf it gives me the correct colorcode, but when SetPlayerColor() it sets 0. For some reason.
Posts: 363
Threads: 15
Joined: Oct 2010
Reputation:
0
Show the part where it converts the MySQL var to a string.
Posts: 363
Threads: 15
Joined: Oct 2010
Reputation:
0
And how to you converted GetPlayerColor to PlayerData[playerid][pColor]?