Functions for sending Cliloc (Client Localized) messages to the Client. 08/31/2015 const _DEFAULT_CLFONT := 3; const _DEFAULT_CLCOLOR := 0x3B2; SendSysMessageCL(character, cliloc_num, uc_text:=array, font:=_DEFAULT_CLFONT , color:=_DEFAULT_CLCOLOR) Displays a Cliloc (Client Localized) system message to 'character'. Arguments for the cliloc itself are seperated with a tab (\t) character. uc_text MUST be an array of integers representing unicode characters. Integers must be "Big Endian" (0x1234) and not "Little Endian" (0x3412). Integers will be clipped internally to 2-bytes (value masked with 0xFFFF) The Array must be terminated with zero. (0x0000) Argument example: Cliloc Number: 1042762: Cliloc ENU String: "Only ~1_AMOUNT~ gold could be deposited. A check for ~2_CHECK_AMOUNT~ gold was returned to you." The uc_text string may have "100 thousand\t25 hundred", which in turn would modify the string: "Only 100 thousand gold could be deposited. A check for 25 hundred gold was returned to you." 1 on success "Unicode array exceeds maximum size." (200 characters) "Invalid value in Unicode array." "A parameter was invalid" Array PrintTextAboveCL(character, cliloc_num, uc_text:=array, font:=_DEFAULT_CLFONT , color:=_DEFAULT_CLCOLOR) Displays a Cliloc (Client Localized) message above 'character'. Arguments for the cliloc itself are seperated with a tab (\t) character. uc_text MUST be an array of integers representing unicode characters. Integers must be "Big Endian" (0x1234) and not "Little Endian" (0x3412). Integers will be clipped internally to 2-bytes (value masked with 0xFFFF) The Array must be terminated with zero. (0x0000) Argument example: Cliloc Number: 1042762: Cliloc ENU String: "Only ~1_AMOUNT~ gold could be deposited. A check for ~2_CHECK_AMOUNT~ gold was returned to you." The uc_text string may have "100 thousand\t25 hundred", which in turn would modify the string: "Only 100 thousand gold could be deposited. A check for 25 hundred gold was returned to you." 1 on success "Unicode array exceeds maximum size." (200 characters) "Invalid value in Unicode array." "A parameter was invalid" Array PrintTextAbovePrivateCL(character, object, cliloc_num, uc_text:=array, font:=_DEFAULT_CLFONT , color:=_DEFAULT_CLCOLOR) Displays a Cliloc (Client Localized) message above 'character'. Arguments for the cliloc itself are seperated with a tab (\t) character. uc_text MUST be an array of integers representing unicode characters. Integers must be "Big Endian" (0x1234) and not "Little Endian" (0x3412). Integers will be clipped internally to 2-bytes (value masked with 0xFFFF) The Array must be terminated with zero. (0x0000) Argument example: Cliloc Number: 1042762: Cliloc ENU String: "Only ~1_AMOUNT~ gold could be deposited. A check for ~2_CHECK_AMOUNT~ gold was returned to you." The uc_text string may have "100 thousand\t25 hundred", which in turn would modify the string: "Only 100 thousand gold could be deposited. A check for 25 hundred gold was returned to you." 1 on success "Unicode array exceeds maximum size." (200 characters) "Invalid value in Unicode array." "A parameter was invalid" Array