- 0
Nu se incarca clanul
-
Similar Content
-
- 2 answers
- 329 views
-
- 5 answers
- 1.109 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Cordyandrey
Salutare, fac un clan pun tag tot frumos etc si cand sa dau restart la server intru si dispare tag-ul.. cam toate datele despre clan, ma poate ajuta cnv?
poza la stats nu apare tag clan si nume la clan https://imgur.com/a/06nMM81
poza nu apar tagurile de la clan https://imgur.com/a/hJZ0kEv
poza baza de date: https://imgur.com/a/if57IKM
cod la loadclan:
forward LoadClanInfo(); public LoadClanInfo() { new strings[256]; clanss = cache_num_rows(); for(new d = 1; d <= clanss; d++) { new var=d; format(strings, sizeof(strings), "SELECT * FROM `clans` WHERE `clanID`='%d'", var); new Cache: xd = mysql_query(SQL, strings); for(new i, j = cache_get_row_count (); i != j; ++i) { ClanInfo[var][cClanID] = cache_get_field_content_int(i, "clanID"); ClanInfo[var][cClanExpire] = cache_get_field_content_int(i, "clanExpire"); ClanInfo[var][cClanActive] = cache_get_field_content_int(i, "clanActive"); ClanInfo[var][cClanSlots] = cache_get_field_content_int(i, "clanSlots"); ClanInfo[var][cClanSeif] = cache_get_field_content_int(i, "clanSeif"); cache_get_field_content(i, "clanName", ClanInfo[var][cClanName], SQL, 130); cache_get_field_content(i, "clanColor", ClanInfo[var][cClanColor], SQL, 130); cache_get_field_content(i, "clanMOTD", ClanInfo[var][cClanMOTD], SQL, 130); cache_get_field_content(i, "clanTag", ClanInfo[var][cClanTag], SQL, 130); cache_get_field_content(i, "clanRankName7", ClanInfo[var][cClanRankName7], SQL, 130); cache_get_field_content(i, "clanRankName6", ClanInfo[var][cClanRankName6], SQL, 130); cache_get_field_content(i, "clanRankName5", ClanInfo[var][cClanRankName5], SQL, 130); cache_get_field_content(i, "clanRankName4", ClanInfo[var][cClanRankName4], SQL, 130); cache_get_field_content(i, "clanRankName3", ClanInfo[var][cClanRankName3], SQL, 130); cache_get_field_content(i, "clanRankName2", ClanInfo[var][cClanRankName2], SQL, 130); cache_get_field_content(i, "clanRankName1", ClanInfo[var][cClanRankName1], SQL, 130); } cache_delete(xd); LoadClanCar(var); } printf("[LOADING] %d clans loaded.", clanss); }Edited by Cordyandrey2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now