GetCompileFlag

From UODemo Wiki
Jump to: navigation, search

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.