Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public LoadClanInfo()
- {
- clanss = cache_num_rows( );
- for( new i = 0; i <= clanss; i++ )
- {
- new f = cache_get_field_content_int( i, "clanID" );
- ClanInfo[ f ][ cClanID ] = f;
- ClanInfo[ f ][ cClanExpire ] = cache_get_field_content_int( i , "clanExpire" );
- ClanInfo[ f ][ cClanActive ] = cache_get_field_content_int( i , "clanActive" );
- ClanInfo[ f ][ cClanSlots ] = cache_get_field_content_int( i , "clanSlots" );
- ClanInfo[ f ][ cClanSeif ] = cache_get_field_content_int( i, "clanSeif" );
- cache_get_field_content( i, "clanName", ClanInfo[ f ][ cClanName ], SQL, 130);
- cache_get_field_content( i, "clanTag", ClanInfo[ f ][ cClanTag ], SQL, 130);
- cache_get_field_content( i, "clanColor", ClanInfo[ f][ cClanColor ], SQL, 130);
- cache_get_field_content( i, "clanMOTD", ClanInfo[ f][ cClanMOTD ], SQL, 130);
- cache_get_field_content( i, "clanRankName1", ClanInfo[ f ][ cClanRankName1 ], SQL, 130);
- cache_get_field_content( i, "clanRankName2", ClanInfo[ f ][ cClanRankName2 ], SQL, 130);
- cache_get_field_content( i, "clanRankName3", ClanInfo[ f ][ cClanRankName3 ], SQL, 130);
- cache_get_field_content( i, "clanRankName4", ClanInfo[ f ][ cClanRankName4 ], SQL, 130);
- cache_get_field_content( i, "clanRankName5", ClanInfo[ f ][ cClanRankName5 ], SQL, 130);
- cache_get_field_content( i, "clanRankName6", ClanInfo[ f ][ cClanRankName6 ], SQL, 130);
- cache_get_field_content( i, "clanRankName7", ClanInfo[ f ][ cClanRankName7 ], SQL, 130);
- }
- printf( "Clans: %d", clanss);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement