AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   nvault_get question (https://forums.alliedmods.net/showthread.php?t=132539)

mottzi 07-15-2010 19:47

nvault_get question
 
hay!

my code:
PHP Code:

g_1place == nvault_get(n_vault"place1"

I get the data of the key "place1" in the variable g_1place!
But what is going to heppen when there isnt yet the place1? Will it return 0?

Bugsy 07-15-2010 20:24

Re: nvault_get question
 
Quote:

Originally Posted by mottzi (Post 1240818)
[...] Will it return 0?

Yes.

Seta00 07-15-2010 20:34

Re: nvault_get question
 
Quote:

Originally Posted by Bugsy (Post 1240848)
Yes.

WOW that's lame

mottzi 07-15-2010 20:36

Re: nvault_get question
 
I thank you very much >.< :D


All times are GMT -4. The time now is 07:06.

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