Clan command shows ID 0 instead of anything else
#2

I recommend using threaded queries, you weren't storing the query cache result, therefore it returned 0 when you called cache_insert_id();

PHP код:
mysql_tquery(Databasequery"query_insertIntoClans""d.."playerid);
forward query_insertIntoClans(playerid, ..);
public 
query_insertIntoClans(playerid, ..) {
    
UserStats[playerid][Clan] = cache_insert_id();
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)