Error while using cache_get_content_field
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Save and load the color as integer.
pInfo[playerid][namecolor] should be declared as integer as well.
Retrieve it with cache_get_field_content_int function.

pawn Код:
format(string, sizeof(string), "Color: %06x", pInfo[playerid][namecolor] >>> 8);
Ok but what if i want to print something else from the database, this method with cache_get_field_content won't work either... For example what if i have some logs and i want to print them into a dialog, this will not work with integer for those thoo.
Reply


Messages In This Thread
Error while using cache_get_content_field - by blaudroid - 20.09.2016, 06:04
Re: Error while using cache_get_content_field - by Konstantinos - 20.09.2016, 08:36
Re: Error while using cache_get_content_field - by blaudroid - 20.09.2016, 11:22
Re: Error while using cache_get_content_field - by Konstantinos - 20.09.2016, 11:50
Re: Error while using cache_get_content_field - by blaudroid - 21.09.2016, 12:56
Re: Error while using cache_get_content_field - by Konstantinos - 21.09.2016, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)