Need help with mysql (syntax) again
#4

Quote:
Originally Posted by Kane_
View Post
Why are you using cache_get_value_name?

Anyway, if you're on the latest version, this is how you cache_get_value_name:

pawn Code:
new dest[128];
cache_get_value_name(0, "name", dest);
printf("The value in the column 'name' is '%s'.", dest);
I can't understand... I changed this line:
pawn Code:
player_FishingData[playerid][fishBiggestSize][t] = cache_get_value_name_int(0,f("fishBiggestSize%d",   t));
to
pawn Code:
cache_get_value_name_int(t,f("fishBiggestSize%d",   player_FishingData[playerid][fishBiggestSize][t]));
but still get same error.
Reply


Messages In This Thread
Need help with mysql (syntax) again - by Edvukas - 09.03.2019, 23:08
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 10:43
Re: Need help with mysql (syntax) again - by Kane - 10.03.2019, 10:51
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 19:15
Re: Need help with mysql (syntax) again - by JesterlJoker - 10.03.2019, 19:47
Re: Need help with mysql (syntax) again - by Infin1ty - 10.03.2019, 19:53
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 20:13
Re: Need help with mysql (syntax) again - by solstice_ - 10.03.2019, 20:25
Re: Need help with mysql (syntax) again - by Edvukas - 10.03.2019, 22:14
Re: Need help with mysql (syntax) again - by JesterlJoker - 11.03.2019, 05:16

Forum Jump:


Users browsing this thread: 1 Guest(s)