AclGroupRemoveObject: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Server function}}  
{{Server function}}  
{{Needs Example}}
<!-- Describe in plain english what this function does. Don't go into details, just give an overview -->
<!-- Describe in plain english what this function does. Don't go into details, just give an overview -->
This function removes the given object (string) from the given ACL group. The object can be a resource or a player. See [[aclGroupAddObject]] for more details.
This function removes the given object (string) from the given ACL group. The object can be a resource or a player. See [[aclGroupAddObject]] for more details.
Line 30: Line 31:
<!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
<!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
{{ACL_functions}}
{{ACL_functions}}
[[Category:Needs_Example]]

Revision as of 13:23, 12 November 2011

Accessories-text-editor.png Script Example Missing Function AclGroupRemoveObject needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function removes the given object (string) from the given ACL group. The object can be a resource or a player. See aclGroupAddObject for more details.

Syntax

bool aclGroupRemoveObject ( aclgroup theGroup, string theObjectString )

Required Arguments

  • theGroup: The ACL group to remove the object string from
  • theObjectString: The object to remove from the ACL group

Returns

Returns true if the object existed in the ACL and could be remoevd, false if it could not be removed for some reason, ie. it did not exist in the given ACL group.

Example

This example does...

--TODO

See Also