nvault problems
Hello i got some nvault problems.
So i been working on this plugin which makes so you can marry other people on the server. The saving works great it saves the users SteamID and the user steamid + name he is married. The thing that is not working is the loading part. It works whenever you are alone in the server or with other people you are not married to. But when the guy/girl you are married to joins the server the plugin will loads my marriage + theirs marriage information. I just want it just to load their marriage information. When it loads my marriage information too it messes up the names. How could i solve this? This is the nvault code im currently using. Code:
|
Re: nvault problems
Is this along the lines of what you're trying to do?
Code:
key="STEAM_0:0:12345" data="STEAM_0:0:98765 bugsy" |
Re: nvault problems
Quote:
|
Re: nvault problems
Quote:
PHP Code:
Untested: PHP Code:
|
Re: nvault problems
Thanks a lot man. I really appreciate that you have spent time fixing this for me. I will return with the results if it worked or not :)
|
Re: nvault problems
I found one minor mistake in my above code which resulted in only the first letter of each players name to be saved in the vault. I edited the above code to fix this.
|
Re: nvault problems
Quote:
It wont load anything. Code:
public LoadData( id )So i guess something is wrong. |
Re: nvault problems
Quote:
|
Re: nvault problems
Quote:
Code:
g_szAuthID[ 33 ][ 34 ]; |
Re: nvault problems
Try the copy of the plugin I PM'd you
And make sure you read the authid before calling the load function |
| All times are GMT -4. The time now is 18:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.