28.07.2015, 21:25
Код:
CMD:resetveh(playerid, params[]) { new id; if (sscanf(params, "i", id)) return SendClientMessage(playerid, -1, "/resetveh vehid"); mysql_format(g_SQL, Query, sizeof (Query), "UPDATE `table` SET `vVechime` = `0` WHERE `vehicle_field` = `%i`", id); mysql_tquery(g_SQL, Query); return 1; }