Difference between revisions of "GetCompileFlag"

From UODemo Wiki
Jump to: navigation, search
(Created page with 'integer '''getCompileFlag'''(string ''Flag''); This function returns information about how the core was compiled. If an invalid flag is given the function will return 0. Flag 1…')
 
(No difference)

Latest revision as of 09:40, 8 September 2010

integer getCompileFlag(string Flag);

This function returns information about how the core was compiled. If an invalid flag is given the function will return 0.

Flag 1: returns 1 and indicates "The new reputation system"
Flag 2: returns 0 and indicates "No requirement check to buy ship/house deeds"
Flag 3: returns the publish number of UoDemo+ as of Publish 16 (older releases will return 0)

NOTE: Flag 2 is only checked by these 3 scripts : housedeed, multistuff, shipdeed.


Return to the Command List.