[CODE]
for sweg,cmd in pairs(concommand.GetTable()) do
print("Found concommand: "..cmd)
end[/CODE]
If i put tostring(cmd) it displays hexadecimals such as "function: 0x2b933f10"
How do i get the functions name?
I imagine it's the key of the table (what you have as "sweg")
[QUOTE=Internet1001;45767690]I imagine it's the key of the table (what you have as "sweg")[/QUOTE]
Gawd damn boiie you saved my day!
Thanks.
You can't since the names of the variables are pretty much just the icing on the cake and not really stored anywhere. (I think)
If it were a global function you could go through _G and find key, but the functions that are linked to a concommand are probably not global
Sorry, you need to Log In to post a reply to this thread.