Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // SQLite tabela Weapons
- format(szString, sizeof szString, "SELECT * FROM Weapons WHERE ID = %d", PlayerInfo[playerid][pID]);
- ResultQuery = db_query(DataBase, szString);
- for(new i = 0; i < db_num_rows(ResultQuery); i++)
- {
- PlayerInfo[playerid][pWeapon][ResultQuery] = SQLiteGetResultIntAssoc(ResultQuery, "Weapon");
- PlayerInfo[playerid][pAmmo][ResultQuery] = SQLiteGetResultIntAssoc(ResultQuery, "Ammo");
- if(!db_next_row(ResultQuery))
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement