Mysql error
#1

I added a new mysql plugin and include to my server and i keep on getting these errorsmysql r7)

Код:
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 236: unknown parameter in substitution (incorrect #define pattern)
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : error 029: invalid expression, assumed zero
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 215: expression has no effect
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : error 029: invalid expression, assumed zero
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : warning 215: expression has no effect
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : error 029: invalid expression, assumed zero
C:\Users\HP\Desktop\CBG 0.3Z r7\gamemodes\cbg.pwn(4643) : fatal error 107: too many error messages on one line
this is the line with the problem:

Код:
case 0:  { format(sql, sizeof(sql), "UPDATE `samp_trunks` SET `TS1`=1 WHERE PlayerID='%d'", PlayerInfo[playerid][pDBID]); mysql_query(sql, THREAD_UPDATE, playerid); }
Reply
#2

No one please?
Reply
#3

Please!!!!!!!!!!!!!!!!!
Reply
#4

r7 you said ?
Quote:

case 0:
{
format(sql, sizeof(sql), "UPDATE `samp_trunks` SET `TS1`=1 WHERE PlayerID= %d", PlayerInfo[playerid][pDBID]);
mysql_function_query(g_mysql_handle, sql, true, "EmptyCallback", "");
}

This is the correct format of r7, also did you added r7 include in pwn? ?
Reply
#5

Quote:

warning 236: unknown parameter in substitution (incorrect #define pattern)
error 029: invalid expression, assumed zero

You are using wrong mysql version . Check it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)