[+Rep] Mysql - warning 202: number of arguments does not match definition
#1

Hi, i got warning 202 when im compiler my gamemode anyone can help me fix that pls !

Quote:

E:\35353535\Ultimate Gaming 0.3z RC-2\gamemodes\UG-RP.pwn(28310) : warning 202: number of arguments does not match definition
E:\35353535\Ultimate Gaming 0.3z RC-2\gamemodes\UG-RP.pwn(28312) : warning 202: number of arguments does not match definition
E:\35353535\Ultimate Gaming 0.3z RC-2\gamemodes\UG-RP.pwn(28336) : warning 202: number of arguments does not match definition
E:\35353535\Ultimate Gaming 0.3z RC-2\gamemodes\UG-RP.pwn(28339) : warning 202: number of arguments does not match definition

line 28310 - cache_get_field_content(i, "Name", Businesses[i][bName], MainPipeline, MAX_BUSINESS_NAME);
line 28312 - cache_get_field_content(i, "Username", Businesses[i][bOwnerName], MainPipeline, MAX_PLAYER_NAME);
line 28336 - cache_get_field_content(i, "OrderBy", Businesses[i][bOrderBy], MainPipeline, MAX_PLAYER_NAME);
line 28339 - cache_get_field_content(i, "OrderDate", Businesses[i][bOrderDate], MainPipeline, 30);
Reply
#2

anyone can help me pls ?
Reply
#3

pawn Код:
line 28310 - cache_get_field_content(i, "Name", Businesses[i][bName], MainPipeline, MAX_BUSINESS_NAME);
line 28312 - cache_get_field_content(i, "Username", Businesses[i][bOwnerName], MainPipeline, MAX_PLAYER_NAME);
line 28336 - cache_get_field_content(i, "OrderBy", Businesses[i][bOrderBy], MainPipeline, MAX_PLAYER_NAME);
line 28339 - cache_get_field_content(i, "OrderDate", Businesses[i][bOrderDate], MainPipeline, 30);
change this to the following
pawn Код:
ine 28310 - cache_get_field_content(i, "Name", Businesses[i][bName], MainPipeline);
line 28312 - cache_get_field_content(i, "Username", Businesses[i][bOwnerName], MainPipeline);
line 28336 - cache_get_field_content(i, "OrderBy", Businesses[i][bOrderBy], MainPipeline);
line 28339 - cache_get_field_content(i, "OrderDate", Businesses[i][bOrderDate], MainPipeline);
the format of using it is as follows--
Quote:
cache_get_field_content(row, const field_name[], dest[], connectionHandle = 1)
Reply
#4

Thanks for your help BroZeus. +rep for you
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)