Getting any variable value with a command
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
I don't think it's possible, even through the use of emit. Variable and functions names are merely stored as addresses in memory and cannot be accessed by name. The exceptions being public functions and variables.

Variables can be declared public as well, but I'm not sure how that would work out as it's never been used before.
Yes, but I was thinking maybe it's possible to make a table where all names and addresses of variables are saved, so it's possible to look up variable addresses by name and show the values. Just a thought, I'm not very familiar with #emit.

EDIT: And if not with #emit, maybe a plugin?
Reply


Messages In This Thread
Getting any variable value with a command - by serj009 - 01.06.2012, 08:00
Re: Getting any variable value with a command - by iJumbo - 01.06.2012, 08:03
Re: Getting any variable value with a command - by serj009 - 01.06.2012, 08:15
Re: Getting any variable value with a command - by iJumbo - 01.06.2012, 08:17
Re: Getting any variable value with a command - by serj009 - 01.06.2012, 08:28
Re: Getting any variable value with a command - by MadeMan - 01.06.2012, 10:28
Re: Getting any variable value with a command - by Vince - 01.06.2012, 10:38
Re: Getting any variable value with a command - by MadeMan - 01.06.2012, 10:47
Re: Getting any variable value with a command - by milanosie - 01.06.2012, 10:50

Forum Jump:


Users browsing this thread: 3 Guest(s)