19.07.2011, 17:43
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;
}

