How can i read all data in a fvault file?
example i have this data in my fvault file:
"Name" "1 2" and my questions is: How can i make a for and obtain all data? i tried this, but doesn't work ;( PHP Code:
Excuse my little english :cry: |
Re: How can i read all data in a fvault file?
I don't know about fvault specifically but get_user_name(i, Name, 32) will give you errors.
|
Re: How can i read all data in a fvault file?
and of nvault you know?
y tried that... PHP Code:
i desperate... if you can help me, i really appreciate it. Thanks and excuse my english again. |
Re: How can i read all data in a fvault file?
How are they formatted in the nvault data?
"name1,name2,name3,name4"? Are they all stored in the same key with the key being the players name, in your case "Enum"? Give an example key/data that you are trying to manipulate and what you wish the end result to be. |
Re: How can i read all data in a fvault file?
Quote:
I have this in my nvault file. "Test1" "100 200" "Test2" "200 300" "Test3" "500 1200" "Test4" "6000 10000" Ok, with a for, i want read the nvault file and in a print say all names ( Test1, Test2, Test3, Test4 ) And all data. Example: PHP Code:
PHP Code:
|
Re: How can i read all data in a fvault file?
You will need to use nvault utility for this. I posted 2 methods, one allows you to have a for loop to iterate through all or you can use the readall method where everything is done for you.
nvault_util PHP Code:
|
Re: How can i read all data in a fvault file?
Thanks, that works fine only for somethig.
I have this in my nvault file "Enum 15 15 15 15 15". and in console appears two 15 less, why? Result: Names: Enum Values: 15 15 15 Thanks so much bugsy ;) |
Re: How can i read all data in a fvault file?
how big is your dest string? Show code
|
Re: How can i read all data in a fvault file?
Quote:
A last question :oops: If i wanna print this: client_print( id, print_chat, "Name: %s - 15/15/15 at 15:15" ) how can i make this? Thanks. |
Re: How can i read all data in a fvault file?
Code:
client_print( id, print_chat, "Name: %s - %d/%d/%d at %d:%d", name, num1, num2, num3, num4, num5) |
| All times are GMT -4. The time now is 10:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.