Difference between revisions of "Task accept"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Task_Functions]]
 
[[Category:Task_Functions]]

+
{{HelpFiles}}
  
 
=====Task_accept=====
 
=====Task_accept=====

Revision as of 11:24, 12 December 2011



Task_accept

Accept a task

Syntax

Task_accept(taskResourceId)

or

Task_accept(taskResourceId, userResourceId)

Arguments

  • taskResourceId: is a number expression. It is the resource id of the task
  • userResourceId: is a number expression. It is the resource id of user who accepts the task

Return value

empty

Example

number taskResourceId = 34802722;

print(Task_accept(taskResourceId));

Availability

Version 5.8