09.08.2014, 13:04
Hi all.
I get these codes with my new MySQL script.
Here's the lines of the errors.
Can you help me? Thanks
I get these codes with my new MySQL script.
Код:
C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28951) : error 076: syntax error in the expression, or invalid function call C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28953) : error 047: array sizes do not match, or destination array is too small C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28955) : error 076: syntax error in the expression, or invalid function call C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28957) : error 047: array sizes do not match, or destination array is too small C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28959) : error 076: syntax error in the expression, or invalid function call C:\Users\Nicolas\Downloads\samp03z_svr_R1_win32\gamemodes\PLRPbene.pwn(28961) : error 047: array sizes do not match, or destination array is too small
pawn Код:
new stringnome1[256];
format(stringnome1,sizeof(stringnome1),"SELECT `nomepersonaggio1` FROM `users` WHERE `username` = `%e`",PlayerName);
mysql_query(stringnome1);
PlayerInfo[playerid][pNomePersonaggio1] = stringnome1;
new stringnome2[256];
format(stringnome2,sizeof(stringnome2),"SELECT `nomepersonaggio2` FROM `users` WHERE `username` = `%e`",PlayerName);
mysql_query(stringnome2);
PlayerInfo[playerid][pNomePersonaggio2] = stringnome2;
new stringnome3[256];
format(stringnome3,sizeof(stringnome3),"SELECT `nomepersonaggio3` FROM `users` WHERE `username` = `%e`",PlayerName);
mysql_query(stringnome3);
PlayerInfo[playerid][pNomePersonaggio3] = stringnome3;