View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-26-2020 , 16:47   Re: [INC] nVault Array
Reply With Quote #8

Shouldn't these codes:

PHP Code:
playerCases[i][id]     = userDATA[id][pdCases][i];
sttNumber stattrak[i][id];
killsNumber kill[i][id];
skinSelected UsingWeapon[i][id]; 
be
PHP Code:
playerCases[id[i]     = userDATA[id][pdCases][i];
sttNumber stattrak[id][i];
killsNumber kill[id][i];
skinSelected UsingWeapon[id][i]; 
I didn't look closely at your code but you are using many nvault array records, ideally you should have all data in the same one. Are you changing the save method of an existing plugin to use nVault array?
__________________

Last edited by Bugsy; 05-26-2020 at 18:15.
Bugsy is offline