Pc setglobalreg str

From Hercules Wiki
Revision as of 04:49, 20 September 2013 by Dastgirpojee (Talk | contribs)

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

Define a string variable in the source

#define pc_setglobalreg_str(sd,reg,val) pc_setregistry_str(sd,reg,val,3)
pc_setglobalreg(sd,"VARIABLE_NAME", "VALUE");

This only works for string variables, for numbers check PC_Setglobalreg.