NPC get_value

07/02/2011 03:21 RoflcopterGoesSoiSoiSoi#1
[Only registered and activated users can see links. Click Here To Register...]

Code:
function customtest()
	local custcol = get_value("custom_column")
	local custcoltwo = gv("custom_column")
	local lvldebug = get_value("level")
	local lvldebugtwo = gv("level")
	message("<b>---Begin Debug---</b>")
	message("custcol with full function name:  "..custcol.."")
	message("custcol with short function name: "..custcoltwo.."")
	message("level with full function name: "..lvldebug.."")
	message("level with short function name: "..lvldebugtwo.."")
end
Value of "custom_column" of currently logged in player in dbo.Characters: "9999991".

/slitwrist
07/02/2011 03:30 grymey#2
^ LOL +1
07/02/2011 05:02 Makenci#3
plz say guiid ,, hmm idk ehats you mine
07/02/2011 22:12 wisp66#4
Quote:
Originally Posted by joseph87293 View Post
The amount of facepalm in this thread is too great for words.
o.0 umm ok i actly found this post of intrest great job copter
07/03/2011 01:12 RoflcopterGoesSoiSoiSoi#5
Thank you Wisp =.=
07/03/2011 08:00 Pyrok#6
You won't be able to just add columns in the database and expect the game to pick it up like that. The get_value names are names of variables in the code itself, it just so happens that they usually match the table column names.
07/03/2011 08:16 RoflcopterGoesSoiSoiSoi#7
Idiotic nFlavor coding.