Raised This Month: $ Target: $400
 0% 

Compiler won't compile with long string


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 10-26-2013 , 05:20   Compiler won't compile with long string
Reply With Quote #1

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_UserDataszSteamIdszQuotedNameszQuotedPassSTART_MONEY
Maybe the compiler can't handle a so long string?
If I remove the two new things it compiles fine.
__________________

Last edited by Kia; 10-26-2013 at 05:20.
Kia is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode