17.11.2016, 08:58
This is line
Then I changed it into this
And I got this
I don't get it..
PHP код:
mysql_format(g_SQL, query, sizeof(query), "INSERT INTO `orgs` (`ID`, `Name`, `Leader`, `ExitX`, `ExitY`, `ExitZ`, `IntX`, `IntY`, `IntZ`, `Sef`, `Money`, `Drugs`, `SefX`, `SefY, `SefZ`, `VW`, `Interior`) VALUES ('%d', '%s', '%s', %f, %f, %f, %f, %f, %f, %f, %f, %f, %d, %d, %d, %d, %d)", org, OrgInfo[org][oName], OrgInfo[org][oLeader], iX, iY, iZ, X, Y, Z, OrgInfo[org][oSef], OrgInfo[org][oMoney], OrgInfo[org][oDrugs], OrgInfo[org][oSefX], OrgInfo[org][oSefY], OrgInfo[org][oSefZ], OrgInfo[org][oVW], OrgInfo[org][oInt]);
PHP код:
mysql_format(g_SQL, query, sizeof(query), \
"INSERT INTO `orgs` (`ID`, `Name`, `Leader`, `ExitX`, `ExitY`, `ExitZ`, `IntX`, `IntY`, `IntZ`, `SefX`, `SefY, `SefZ`, `Sef`, `Money`, `Drugs`, `VW`, `Interior`) \
VALUES (%d, '%s', '%s', %f, %f, %f, %f, %f, %f, %f, %f, %f, %d, %d, %d, %d, %d)", \
org, OrgInfo[org][oName], OrgInfo[org][oLeader], iX, iY, iZ, X, Y, Z, OrgInfo[org][oSefX], OrgInfo[org][oSefY], OrgInfo[org][oSefZ], OrgInfo[org][oSef], OrgInfo[org][oMoney], OrgInfo[org][oDrugs], OrgInfo[org][oVW], OrgInfo[org][oInt]);
mysql_tquery(g_SQL, query);
Код:
C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6153) : error 075: input line too long (after substitutions) C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6154) : error 017: undefined symbol "Org" C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : warning 217: loose indentation C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : error 017: undefined symbol "Info" C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : warning 215: expression has no effect C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : error 001: expected token: ";", but found "]" C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : error 029: invalid expression, assumed zero C:\Users\Micko\Desktop\MySQL\gamemodes\Untitled.pwn(6155) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.