Purpose
Returns a resource string from a .fc or .rez file that is open in the server file.
Syntax
ServerFile.GetResourceString (ResourceType, ResourceID [, ResourceIndex]
ResourceType |
A string representing the resource type. |
ResourceID |
An integer representing the resource ID. |
ResourceIndex |
An integer representing the resource index. This is optional. |
Example
Dim sf as ServerFile
sf.OpenFile("FCAS Config|Strings.rez")
Debug sf.GetResourceString("STR#",1000, 0)
Debug sf.GetResourceString("STR#",1000, 1)
Debug sf.GetResourceString("STR ",1001)
|