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

Getting Nvault Steam ID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Veggetta
Member
Join Date: Mar 2008
Location: Portugal
Old 08-18-2013 , 11:04   Getting Nvault Steam ID
Reply With Quote #1

How to check if steam id exisit on nvault ?

For exemple:
I would like do give a USP to new users (if steam id don't exist on nvault save data) ..

Last edited by Veggetta; 08-18-2013 at 11:05.
Veggetta is offline
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 08-18-2013 , 16:22   Re: Getting Nvault Steam ID
Reply With Quote #2

nvault_lookup returns true on success.

So, use steamid as a vault key. And then check if nvault_lookup returns true. If it returns true, give the weapon
akcaliberg is offline
lobopack23
Senior Member
Join Date: Jun 2009
Location: California , United Stat
Old 08-20-2013 , 03:33   Re: Getting Nvault Steam ID
Reply With Quote #3

new authid[35], vaultdata[256], timestamp
get_user_authid(id,authid,charsmax(authid))

new dataExists = nvault_lookup(record, authid, vaultdata, charsmax(vaultdata), timestamp)

if( dataExists )
return 1

return 0
__________________
- Steam: Lobopack23 - Link
Contact me if you need any help with Pokemod.
- 2nd Generation Pokemod - Link
(new skills, items, and pokemons)
- Buy Xp - Link
lobopack23 is offline
Veggetta
Member
Join Date: Mar 2008
Location: Portugal
Old 08-21-2013 , 13:08   Re: Getting Nvault Steam ID
Reply With Quote #4

You guys are the best ! Thank you
Veggetta is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:31.


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