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,