Raised This Month: $32 Target: $400
 8% 

How do i save knifes permanent?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-28-2012 , 07:24   How do i save knifes permanent?
Reply With Quote #1

Hello people,



How can i save knifes which u buy in the shop for example permanent?
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
BeeFighter
Member
Join Date: Feb 2012
Old 04-28-2012 , 07:41   Re: How do i save knifes permanent?
Reply With Quote #2

use nvault? lol...
__________________
www.Gstar-Gaming.net

Servers:
Jailbreak
HidenSeek
Knife
Deathrun
Public

Join us now: www.gstar-gaming.net
BeeFighter is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-28-2012 , 07:45   Re: How do i save knifes permanent?
Reply With Quote #3

How can i save it inside nvault i dont know how to?
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 04-28-2012 , 08:02   Re: How do i save knifes permanent?
Reply With Quote #4

Do you mean that you buy a new knife model or something in a menu?
If so you could handle it with nvault simply with an array.

Check out this exp mod tutorial and I think you will figure it out yourself.
Erox902 is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-28-2012 , 08:29   Re: How do i save knifes permanent?
Reply With Quote #5

I dont know how to save arrays inside nvault. :S
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 04-28-2012 , 08:50   Re: How do i save knifes permanent?
Reply With Quote #6

I told you to check out that tutorial because it is done in there.

Since you're posting in scripting help section
I assume you atleast know how to read about it yourself...
Erox902 is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-28-2012 , 11:58   Re: How do i save knifes permanent?
Reply With Quote #7

I mean, how can i save the = true or = false.
I know how to save arrays for example jbcash
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 04-28-2012 , 12:12   Re: How do i save knifes permanent?
Reply With Quote #8

I said an array not a bool.
You can simply change the bool to a normal array they work the same way.
Erox902 is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-28-2012 , 12:14   Re: How do i save knifes permanent?
Reply With Quote #9

So then it will look like this?

PHP Code:
public SaveData(id)
{
         new 
AuthID[35]
         
get_user_authid(id,AuthID,34)

         new 
vaultkey[64],vaultdata[256]
         
format(vaultkey,63,"%s-Mod"AuthID)
         
format(vaultdata,255,"%i#"HasKatana[id])
         
nvault_set(g_vault,vaultkey,vaultdata)
         return 
PLUGIN_CONTINUE

__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 04-28-2012 , 12:20   Re: How do i save knifes permanent?
Reply With Quote #10

Quote:
Originally Posted by Bilal Pro View Post
So then it will look like this?
Yes, set the array to 1 instead of true or 0 instead of false.
Erox902 is offline
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 12:36.


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