Zmajk0

Untitled

Oct 13th, 2020
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stock UpdatePlayerSQLInt(playerid, field[], number)
  2. {
  3. new query[128];
  4. mysql_format(Database, query, sizeof(query), "UPDATE `"TABLE_PLAYERS"` SET `%s` = '%d' WHERE `id` = '%d'", field, number, Stats[playerid][xID]);
  5. mysql_tquery(Database, query);
  6. return 1;
  7. }
RAW Paste Data