Hello everyone,
I wanted to add some SQL Stuff to my new plugin, and it worked fine until now, but now I've added two more tables in my SQL Query and now the Compiler gets to 25 % CPU (full single-core), generates a empty
.amx file and the compiler screen stays black.
My Code :
PHP Code:
new szTemp[1024]
formatex(szTemp,charsmax(szTemp),"INSERT INTO `%s` ( `steamid` , `name` , `pass` , `currency` , `primary_weapon` , `primary_skin` , `primary_magazine`, `primary_bpammo` , `primary_laser` , `secondary_weapon` , `secondary_skin` , `secondary_magazine`, `secondary_bpammo` `secondary_laser` , `hatid` , `playermodel` , `tertiary_skin`) VALUES ('%s','%s','%s','%i','weapon_mp5navy', '0', '30', '60', '0', '0', '0', '0', '0', '0', '0', '1', '1');", Table_UserData, szSteamId, szQuotedName, szQuotedPass, START_MONEY)
Maybe the compiler can't handle a so long string?
If I remove the two new things it compiles fine.
__________________