Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Bugsy
Forum: Code Snippets/Tutorials 05-29-2020, 19:19
Replies: 13
Views: 12,133
Posted By Bugsy
Re: [INC] nVault Array

nVault Array is really just a hacky way of storing 4-byte integers in a string. For every value you save in an nVault array, it consumes 5 characters of string in the vault. So to keep this from...
Forum: Code Snippets/Tutorials 05-29-2020, 18:09
Replies: 13
Views: 12,133
Posted By Bugsy
Re: [INC] nVault Array

Are you seeing this error in your logs?

Array size too large, you must increase NVAULT_ARRAY_MAXARRAYSIZE in nvault_array.inc

I would creare an enum like this for your data

enum PlayerData...
Forum: Code Snippets/Tutorials 05-27-2020, 16:31
Replies: 13
Views: 12,133
Posted By Bugsy
Re: [INC] nVault Array

I guess, but it looks sloppy being inconsistent.


I think you did the complete opposite. It's much more uniform to have an enumerator define all of your constants instead of having multiple...
Forum: Code Snippets/Tutorials 05-26-2020, 16:47
Replies: 13
Views: 12,133
Posted By Bugsy
Re: [INC] nVault Array

Shouldn't these codes:

playerCases[i][id] = userDATA[id][pdCases][i];
sttNumber = stattrak[i][id];
killsNumber = kill[i][id];
skinSelected = UsingWeapon[i][id];

be...
Forum: Code Snippets/Tutorials 06-17-2018, 12:00
Replies: 13
Views: 12,133
Posted By Bugsy
Re: [INC] nVault Array

Yes, I'll add it when I get a chance. For now, you can see if the below works:

nvault_touch( vault , key , 0 );
Forum: Code Snippets/Tutorials 12-17-2016, 12:42
Replies: 13
Views: 12,133
Posted By Bugsy
[INC] nVault Array

nVault Array

This include provides the ability to store arrays in nVault. Out of the box, nVault allows you to only save data as a single string. This is cumbersome when you need to store multiple...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 12:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode