Error while using cache_get_content_field
#2

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);
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)