Need help with mysql (syntax) again
#1

I need help with mysql syntax to update my mysql version to version r41-2

I can't compile these:
forward OnLoadFishingData(playerid);
public OnLoadFishingData(playerid)
{
if(cache_num_rows())
{
cache_get_value_name_int(0,"fishingRod", player_FishingData[playerid][fishingRod]);
cache_get_value_name_int(0,"fishingBait", player_FishingData[playerid][fishingBait]);
cache_get_value_name_int(0,"fishingFloat", player_FishingData[playerid][fishingFloat]);
cache_get_value_name_int(0,"fishesCaughtToday", PlayerDB[playerid][fishesCaughtToday]);
cache_get_value_name_int(0,"fishesMoneyToday", PlayerDB[playerid][fishesMoneyToday]);
for(new t = 0; t < MAX_FISH_TYPES; t++)
{
player_FishingData[playerid][fishCount][t] = cache_get_value_name(0,f("fishCount%d", t));
player_FishingData[playerid][fishAmount][t] = cache_get_value_name(0,f("fishAmount%d", t));
player_FishingData[playerid][fishBiggestSize][t] = cache_get_value_name(0,f("fishBiggestSize%d", t));

}
return true;
} it says:
PHP Code:
warning 202number of arguments does not match definition
warning 202
number of arguments does not match definition
warning 202
number of arguments does not match definition 
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)