Without money/rp/hours played.
#9

The problem to be caused by VPUpdate?
Код HTML:
forward VPUpdate(id, update);
public VPUpdate(id, update)
{
    new query[254];
    if(IsPlayerConnected(id))
    {
        switch(update)
        {
            case pAdminu: { mysql_format(MySQLCon, query, sizeof(query), "UPDATE players SET Admin='%d' WHERE user='%s'", pInfo[id][pAdmin], GetName(id)); }
            case pHelperu: { mysql_format(MySQLCon, query, sizeof(query), "UPDATE players SET Helper='%d' WHERE user='%s'", pInfo[id][pHelper], GetName(id)); }
            case pMoneyu: { mysql_format(MySQLCon, query, sizeof(query), "UPDATE players SET Money='%d' WHERE user='%s'", pInfo[id][pMoney], GetName(id)); }
            case pScoreu: { mysql_format(MySQLCon, query, sizeof(query), "UPDATE players SET Score='%d' WHERE user='%s'", pInfo[id][pScore], GetName(id)); }
            // ..................... etc
        }
        mysql_pquery(MySQLCon, query);
    }
    return 1;
}
Reply


Messages In This Thread
[++REP] Without money/rp/hours played. - by norton2 - 19.10.2015, 12:47
Re: Without money/rp/hours played. - by norton2 - 19.10.2015, 14:26
Re : Without money/rp/hours played. - by StreetRP - 19.10.2015, 14:27
Re: Without money/rp/hours played. - by norton2 - 19.10.2015, 15:01
Re: Without money/rp/hours played. - by norton2 - 19.10.2015, 17:05
Re: Without money/rp/hours played. - by norton2 - 19.10.2015, 19:24
Re: Without money/rp/hours played. - by norton2 - 20.10.2015, 13:03
Re: Without money/rp/hours played. - by SecretBoss - 20.10.2015, 13:11
Re: Without money/rp/hours played. - by norton2 - 20.10.2015, 14:40
Re: Without money/rp/hours played. - by SecretBoss - 20.10.2015, 15:16

Forum Jump:


Users browsing this thread: 4 Guest(s)