[HELP]Please help loading leader name
#1

So I was make when I give myself leader then it update's fine I mean it save fine and I type /allmembers and on Leader 1: and then it show my name which is fine know is the problem on loading. I reset or shutdown server then turn on and go to server and type /allmembers and it says Leader 1: and here is empty but it should be my name. Thanks

this is in ongamemodeinit:


pawn Код:
mysql_format(mysql,query,sizeof(query),"SELECT * FROM `fbiclanovi`");
    mysql_tquery(mysql,query,"LoadFBI","");
and here is callback LoadFBI

pawn Код:
forward LoadFBI();
public LoadFBI()
{
    new rows,fields;
    cache_get_data(rows,fields,mysql);
    if(rows)
    {
        cache_get_field_content(0,"Leader1",FBIInfo[1][Leader]);
    }
    return 1;
}
Reply


Messages In This Thread
[HELP]Please help loading leader name - by Luca12 - 07.03.2014, 23:03
Re: [HELP]Please help loading leader name - by Luca12 - 08.03.2014, 09:51
Re: [HELP]Please help loading leader name - by Knappen - 08.03.2014, 10:00
Re: [HELP]Please help loading leader name - by Luca12 - 08.03.2014, 10:08
Re: [HELP]Please help loading leader name - by Knappen - 08.03.2014, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)