Loading color from SQL, Showing as black in game
#4

Quote:
Originally Posted by Shockey HD
Посмотреть сообщение
Those Team Loaded messages are from Console.


And I did this -

pawn Код:
mysql_fetch_field_row(savingstring,"tColor"); tData[i][tColor] = strval(savingstring);
Removing it from being a string variable, now colors wont even load in console.
Did you update the DB, so that the colors are stored as integers too? If not, strval would likely just return 0, and that might be your issue.
Reply


Messages In This Thread
Loading color from SQL, Showing as black in game - by Shockey HD - 02.12.2013, 05:14
Re: Loading color from SQL, Showing as black in game - by Kyosaur - 02.12.2013, 05:27
Re: Loading color from SQL, Showing as black in game - by Shockey HD - 05.12.2013, 03:11
Re: Loading color from SQL, Showing as black in game - by Kyosaur - 05.12.2013, 03:20

Forum Jump:


Users browsing this thread: 2 Guest(s)