Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetResourceTemplateResourceId

From Catglobe Wiki
Revision as of 01:56, 1 November 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:Resource_Functions {{HelpFiles}} = setResourceTemplateResourceId = Set the resource template RId for a resource == Syntax == setResourceTemplateResourceId (n...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



setResourceTemplateResourceId

Set the resource template RId for a resource

Syntax

setResourceTemplateResourceId (number resourceRId, number resourceTemplateRId);

Arguments

resourceRId: number. It's resourceId of the resource you want to set resource template

resourceTemplateRId: number. It's resourceId of resource template

Return type

Empty

Example

number resourceRId = 11560690;
number resourceTemplateRId = 2076;
setResourceTemplateResourceId (resourceRId, resourceTemplateRId);