Raised This Month: $ Target: $400
 0% 

Mysql Tricky :/


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hellraser
Member
Join Date: Jul 2004
Old 09-11-2004 , 16:56   Mysql Tricky :/
Reply With Quote #1

Hey all,i've succesfully made my mysql cvar loading plugin but i wanted to add a function that the server would only read the cvar if the server_id= server ip...so i did this:

Code:
    
new net_address[32] 
get_cvar_string("net_address",net_address,31)
if(mysql_query(mysql,"SELECT cvar,value FROM cvars where server_id='%s'",net_address)>0)
But it doesn't work the server doesnt load any cvars.i get this error when compiling
Quote:
warning 202: number of arguments does not match definition
Any ideas ?
Thanks,
hellraser is offline
 


Thread Tools
Display Modes

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 17:20.


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