- 0
Problema Cm
-
Similar Content
-
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
horke1
Salut am si eu o problema..
Cu CM Clans Members..
stock GetClanMembers( clan[ ] ) { new CQuery[200], minfo[1512]; //-------------------------------------------------------------------------- format(CQuery, sizeof(CQuery), "SELECT * FROM `members` WHERE `clanname` = '%s' ORDER BY `isinclan` DESC LIMIT 15", clan); Result = db_query(Database, CQuery); //-------------------------------------------------------------------------- for(new i; i < db_num_rows(Result); i++) { new string[30], string5[30], onoff[10], log[2]; //---------------------------------------------------------------------- db_get_field_assoc(Result, "playername", string, 30); db_get_field_assoc(Result, "playerclanrank", string5, 30); db_get_field_assoc(Result, "IsOnline", log, 2); //---------------------------------------------------------------------- if(strcmp(log, "0") == 0) { onoff = "Online"; } else if(strcmp(log, "1") == 0) { onoff = "Offline"; } //---------------------------------------------------------------------- format(minfo,sizeof(minfo),"%s\n{FF0000}%s {33FF33}(Rank: %s) {00BBF6}(%s)" ,minfo, string, string5, onoff); db_next_row(Result); } db_free_result(Result); return minfo; }Deci vreau sa nu mai arate (Online) (Offline)
Sa nu mai arate ca are bug :-??
Si cand dau /cm sa vad cine este in clan .. sai arate
Cand nui in clan sa nui arate..
Cand nui pe server sa nul arate si tot asa..
Aveti ide cum pot sa rezolv asta:-??
8 answers to this question
Recommended Posts