Sqlite help.
#5

pawn Код:
db_get_field_assoc(Result,"pAmmo",Field,60);
        pInfo[pAmmo][playerid] = strval(Field);
        GiveWeapon(playerid,pInfo[Primary][playerid],pInfo[pAmmo][playerid]);

        db_get_field_assoc(Result,"Secondary",Field,60);
        pInfo[Secondary][playerid] = strval(Field);

        db_get_field_assoc(Result,"sAmmo",Field,60);
        pInfo[sAmmo][playerid] = strval(Field);
        GiveWeapon(playerid,pInfo[Secondary][playerid],pInfo[sAmmo][playerid]);
So I did a simple debugging function, it did magic.
My GM crashes when those load..
EDIT:
Fixed.
Reply


Messages In This Thread
Sqlite help. (SOLVED) - by Gangster-rocks - 26.01.2015, 07:32
Re: Sqlite help. - by BroZeus - 26.01.2015, 07:37
Re: Sqlite help. - by Lordzy - 26.01.2015, 07:40
Re: Sqlite help. - by Gangster-rocks - 26.01.2015, 07:45
Re: Sqlite help. - by Gangster-rocks - 26.01.2015, 08:13

Forum Jump:


Users browsing this thread: 1 Guest(s)