Input line too long
#1

This is line
PHP код:
mysql_format(g_SQLquerysizeof(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)"orgOrgInfo[org][oName], OrgInfo[org][oLeader], iXiYiZXYZOrgInfo[org][oSef], OrgInfo[org][oMoney], OrgInfo[org][oDrugs], OrgInfo[org][oSefX], OrgInfo[org][oSefY], OrgInfo[org][oSefZ], OrgInfo[org][oVW], OrgInfo[org][oInt]); 
Then I changed it into this
PHP код:
mysql_format(g_SQLquerysizeof(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)"
, \
    
orgOrgInfo[org][oName], OrgInfo[org][oLeader], iXiYiZXYZOrgInfo[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_SQLquery); 
And I got this
Код:
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.
I don't get it..
Reply


Messages In This Thread
Input line too long - by Micko123 - 17.11.2016, 08:58
Re: Input line too long - by StrikerZ - 17.11.2016, 09:04
Re: Input line too long - by Micko123 - 17.11.2016, 09:05
Re: Input line too long - by StrikerZ - 17.11.2016, 09:06

Forum Jump:


Users browsing this thread: 2 Guest(s)