SQLite
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
free result must be always at the end

pawn Код:
db_get_field_assoc(Result, "gangname", GangInfo[gangid][GName], MAX_STRING_SIZE);
db_get_field_assoc(Result, "gangpoints", GangInfo[gangid][GPoints], MAX_STRING_SIZE);
db_get_field_assoc(Result, "tankgpoints", GangInfo[gangid][GTankPoints], MAX_STRING_SIZE);
db_get_field_assoc(Result, "gangcolor", GangInfo[gangid][GangColor], MAX_STRING_SIZE);
db_free_result(Result);
Ty ,i never tryed to get multiple fields for that i don't saw this. +1 rep.
Reply


Messages In This Thread
SQLite - by Ph0eniX - 23.10.2014, 21:52
Re: SQLite - by Jefff - 23.10.2014, 22:46
Re: SQLite - by Ph0eniX - 24.10.2014, 09:14

Forum Jump:


Users browsing this thread: 1 Guest(s)