PC Readglobalreg

From Hercules Wiki
Revision as of 03:22, 13 January 2013 by Mysterious (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Check a variable in the source

#define pc_readglobalreg(sd,reg) pc_readregistry(sd,reg,3)
pc_readglobalreg(sd,"VARIABLE_NAME");

Note: This only works for numeric variables, strings check pc_readglobalreg_str.