AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   need help nvault (https://forums.alliedmods.net/showthread.php?t=194316)

Killer zm 08-27-2012 06:32

need help nvault
 
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 ?

Napoleon_be 08-27-2012 09:10

Re: need help nvault
 
I don't think you can change names without getting the levels changed either..

Killer zm 08-27-2012 10:38

Re: need help nvault
 
well be like loading name and level and change name and set the level loaded that can be done?

guipatinador 08-27-2012 10:42

Re: need help nvault
 
Quote:

Originally Posted by Killer zm (Post 1784039)
I have an plugin that (...)

Post here the plugin.

Napoleon_be 08-27-2012 10:44

Re: need help nvault
 
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.


All times are GMT -4. The time now is 05:44.

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