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

Qualification setLevelOnUsers: Difference between revisions

From Catglobe Wiki
Created page with "{{HelpFiles}} ==== Qualification_setLevelOnUsers ==== Set level on user. '''Syntax''' Qualification_setLevelOnUsers(array list_rids, number qualification_id, number level)..."
 
Nguyenduyan (talk | contribs)
No edit summary
 
Line 1: Line 1:
[[Category:Qualification_Functions]]
{{HelpFiles}}
{{HelpFiles}}



Latest revision as of 02:46, 16 January 2018


Qualification_setLevelOnUsers

Set level on user.

Syntax

Qualification_setLevelOnUsers(array list_rids, number qualification_id, number level);

Return type

Empty

Examples

array a = Qualification_getByName("B2B");
print(a);
 
Dictionary b = Qualification_getLevelForUsers({12649177},a[1],0,1000);
print(b);

Qualification_setLevelOnUsers({12649177},a[1],3);

Dictionary c = Qualification_getLevelForUsers({12649177},a[1],0,1000);
print(c);

//Result:
{37,4,B2B,1,4,True}
{"12649177": 4}
{"12649177": 3}