Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- format(szQuery, sizeof(szQuery), "SELECT * FROM `users` WHERE `Clan` = '%d'", clanid);
- new Cache: result = mysql_query(SQL, szQuery);
- new idwtf[180];
- for(new i, j = cache_get_row_count (); i < j; i++)
- {
- cache_get_field_content(i, "id", idwtf);
- membrii++;
- new szQuery2[256];
- mysql_format(SQL, szQuery2, sizeof(szQuery2), "UPDATE `users` SET `Clan`='0', `ClanRank`='0', `ClanDays`='0', `ClanWarns`='0' WHERE `ID`='%d'", strval(idwtf));
- mysql_tquery(SQL,szQuery2, "", "");
- }
- cache_delete(result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement