syntax error in the expression, or invalid function call
#1

Script Code
Код:
	case LOS_SANTOS:
		{
		format(string, sizeof(string), "UPDATE server SET Gamemode = '%d' WHERE Server = '1'",LAS_VENTURAS);
		mysql_query,strval(string);ERROR LINE THIS
		}
Error
Код:
syntax error in the expression, or invalid function call
Reply
#2

pawn Код:
mysql_query,strval(string);
This is a meaningless line of code.

I guess you are trying to run a mysql query:
pawn Код:
mysql_tquery(connectionHandle, string, "", "");
** connectionHandle is your mysql connection handle id.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)