Raised This Month: $ Target: $400
 0% 

need help nvault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Killer zm
Senior Member
Join Date: Jun 2011
Old 08-27-2012 , 06:32   need help nvault
Reply With Quote #1

I have an plugin that save levels on name in nvault like this

"name" "level"
ex "killer" "7"

and i want to have an comand to change his name without modify manual the .vault file .
amx_change "killer" "newname"
and i want level remain the same .
"newname" "7"

There is an plugin that make what ai want or can you give me an simple code or an ideea ?
Killer zm is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-27-2012 , 09:10   Re: need help nvault
Reply With Quote #2

I don't think you can change names without getting the levels changed either..
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Killer zm
Senior Member
Join Date: Jun 2011
Old 08-27-2012 , 10:38   Re: need help nvault
Reply With Quote #3

well be like loading name and level and change name and set the level loaded that can be done?
Killer zm is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 08-27-2012 , 10:42   Re: need help nvault
Reply With Quote #4

Quote:
Originally Posted by Killer zm View Post
I have an plugin that (...)
Post here the plugin.
guipatinador is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-27-2012 , 10:44   Re: need help nvault
Reply With Quote #5

I think you can do like:

1) Save old name & level.
2) Save new name.
3) Get level from old name & set the level to the new name.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Reply


Thread Tools
Display Modes

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 05:44.


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