SQLite Problem
#1

I have did a FS and when i compile i don't get errors but the command don't work!
Код:
	if(strcmp(cmd, "/boxing", true) == 0)
	{
	    new Query[256];
	    new boxing = 1;
	    format(Query, sizeof(Query), "UPDATE `FightStyles` SET `Boxing` = '%d' WHERE `Nume` = '%s'",boxing, playerid);
	    db_free_result(db_query(Database, Query));
	    SendClientMessage(playerid, COLOR_WHITE, "You have jsut learned Boxing!");
		return 1;
	}
Reply
#2

you formated query but you didnt send it
Reply
#3

explain please
Reply
#4

db_query(Query);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)