AR/Server Scripting Functions: Difference between revisions
Line 75: | Line 75: | ||
{{AR/Pickup functions}} | {{AR/Pickup functions}} | ||
== | ==وظائف الاعب== | ||
{{ | {{functionsAR/Player functions}} | ||
==Radar area functions== | ==Radar area functions== |
Revision as of 16:23, 8 February 2016
This page lists all the server-side scripting functions that have been implemented and are available as native functions. To request a function or event, use Requested Functions and Events or http://bugs.mtasa.com.
Please note that the scripting functions can also be extended by loading in dynamic modules that provide new functionality, such as utility functions. These scripting functions are non-native and require the module to be loaded in order to work.
Head over to Modules for a list of non-native serverside functions and modules that are available.
For more functions, check the useful functions page.
Client-side scripting functions can be found here: Client Scripting Functions.
Account functions
- addAccount
- copyAccountData
- getAccount
- getAccountData
- getAccountName
- getAccountPlayer
- getPlayerAccount
- getAccounts
- isGuestAccount
- logIn
- logOut
- removeAccount
- setAccountData
- setAccountPassword
- getAllAccountData
ACL functions
- aclCreate
- aclCreateGroup
- aclDestroy
- aclDestroyGroup
- aclGet
- aclGetGroup
- aclGetName
- aclGetRight
- aclGroupList
- aclGroupAddACL
- aclGroupAddObject
- aclGroupGetName
- aclGroupListACL
- aclGroupListObjects
- aclGroupRemoveACL
- aclGroupRemoveObject
- aclList
- aclListRights
- aclReload
- aclRemoveRight
- aclSave
- aclSetRight
- hasObjectPermissionTo
Admin functions
- banPlayer
- kickPlayer
- addBan
- getBanAdmin
- getBanIP
- getBanNick
- getBanReason
- getBans
- getBanSerial
- getBanTime
- getBanUsername
- getUnbanTime
- removeBan
وظائف الصوت
ه
Blip functions
- createBlip
- createBlipAttachedTo
- getBlipColor
- getBlipIcon
- getBlipSize
- setBlipColor
- setBlipIcon
- setBlipSize
- getBlipOrdering
- setBlipOrdering
Camera functions
Collision shape functions
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColShapeRadius
- getColShapeSize
- getElementColShape
- getElementsWithinColShape
- isElementWithinColShape
Clothes and body functions
- addPedClothes
- getBodyPartName
- getClothesByTypeIndex
- getClothesTypeName
- getPedClothes
- getTypeIndexFromClothes
- removePedClothes
Cursor functions
Element functions
- clearElementVisibleTo
- cloneElement
- createElement
- destroyElement
- getAllElementData
- getAttachedElements
- getElementAlpha
- getElementAttachedOffsets
- getElementCollisionsEnabled
- getElementAttachedTo
- getElementByID
- getElementByIndex
- getElementChild
- getElementChildren
- getElementChildrenCount
- getElementColShape
- getElementData
- getElementDimension
- getElementHealth
- getElementID
- getElementInterior
- getElementParent
- getElementPosition
- getElementRotation
- getElementsByType
- getElementsWithinColShape
- getElementType
- getElementVelocity
- getElementZoneName
- getRootElement
- isElement
- isElementAttached
- isElementCallPropagationEnabled
- isElementDoubleSided
- isElementFrozen
- isElementVisibleTo
- isElementWaitingForGroundToLoad
- isElementWithinColShape
- removeElementData
- setElementAlpha
- setElementCallPropagationEnabled
- setElementCollisionsEnabled
- setElementData
- setElementDoubleSided
- setElementDimension
- setElementFrozen
- setElementHealth
- setElementID
- setElementInterior
- setElementParent
- setElementPosition
- setElementSyncer
- setElementRotation
- setElementVelocity
- setElementVisibleTo
- attachElements
- detachElements
- getElementModel
- getElementSyncer
- isElementInWater
- setElementAttachedOffsets
- setElementModel
- setLowLODElement
- getLowLODElement
- isElementLowLOD
Event functions
Explosion functions
Template:AR/Explosion functions
File functions
HTTP functions
Input functions
Map functions
Marker functions
وظائف الماركر
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- isElementWithinMarker
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
Module functions
Object functions
Ped functions
Pickup functions
وظائف الاعب
Template:FunctionsAR/Player functions
Radar area functions
Template:AR/Radar area functions
Resource functions
هذي الوظيفه تقوم بنسخ المود
Serial functions
Server functions
Settings registry functions
Template:AR/Settings registry functions