28.07.2014, 20:50
WTF is problem in this code:
Line 4238:
pawn Код:
new bizquery[256];
format(bizquery,sizeof(bizquery), "UPDATE biznisi SET bKupena = '%d', bSopstvenik = "%s" WHERE BiznisID = '%d'", BiznisInfo[b][bKupena], BiznisInfo[b][bSopstvenik], b);
mysql_function_query(1, bizquery, false, "", "");
Код:
C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : warning 215: expression has no effect C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : warning 215: expression has no effect C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : warning 215: expression has no effect C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : warning 215: expression has no effect C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : error 001: expected token: ";", but found ")" C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : error 029: invalid expression, assumed zero C:\Users\PC\Desktop\Tomato\TRPG Nov\gamemodes\TRPG.pwn(4238) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
format(bizquery,sizeof(bizquery), "UPDATE biznisi SET bKupena = '%d', bSopstvenik = "%s" WHERE BiznisID = '%d'", BiznisInfo[b][bKupena], BiznisInfo[b][bSopstvenik], b);