AR/Server Scripting Functions: Difference between revisions
Line 26: | Line 26: | ||
==Announcement functions== | ==Announcement functions== | ||
{{AR/Announce_functions}} | {{AR/Announce_functions}} | ||
*[[AR/createBlip|createBlip]] | *[[AR/createBlip|createBlip]] |
Revision as of 15:33, 29 September 2012
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
Audio functions
- getSoundBufferLength
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance
- getSoundMetaTags
- getSoundMinDistance
- getSoundPan
- getSoundPosition
- getSoundProperties
- getSoundSpeed
- getSoundVolume
- getSoundWaveData
- isSoundPanningEnabled
- isSoundPaused
- playSFX
- playSFX3D
- playSound
- playSound3D
- playSoundFrontEnd
- setRadioChannel
- setSoundEffectEnabled
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPan
- setSoundPanningEnabled
- setSoundPaused
- setSoundPosition
- setSoundProperties
- setSoundSpeed
- setSoundVolume
- stopSound
Announcement functions
Template:AR/Announce functions
- createBlip
- createBlipAttachedTo
- getBlipColor
- getBlipIcon
- getBlipSize
- setBlipColor
- setBlipIcon
- setBlipSize
- getBlipOrdering
- setBlipOrdering
Camera functions
- fadeCamera
- getCamera
- getCameraClip
- getCameraFieldOfView
- getCameraGoggleEffect
- getCameraInterior
- getCameraMatrix
- getCameraShakeLevel
- getCameraTarget
- getCameraViewMode
- setCameraClip
- setCameraFieldOfView
- setCameraGoggleEffect
- setCameraInterior
- setCameraMatrix
- setCameraShakeLevel
- setCameraTarget
- setCameraViewMode
Collision shape functions
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColShapeRadius
- getColShapeSize
- getElementColShape
- getElementsWithinColShape
- isElementWithinColShape
Clothes and body functions
Template:AR/Clothes and body functions
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
Player functions
- forcePlayerMap
- getAlivePlayers
- getDeadPlayers
- getPlayerAnnounceValue
- getPlayerBlurLevel
- getPlayerCount
- getPlayerMoney
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerSerial
- getPlayerTeam
- getPlayerVersion
- getPlayerWantedLevel
- getRandomPlayer
- givePlayerMoney
- isPlayerMapForced
- isPlayerMuted
- isPlayerNametagShowing
- setPlayerAnnounceValue
- setPlayerBlurLevel
- setPlayerMoney
- setPlayerMuted
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- setPlayerTeam
- setPlayerWantedLevel
- showPlayerHudComponent
- spawnPlayer
- takePlayerMoney
- getPlayerFromName
- getPlayerIP
- getPlayerName
- redirectPlayer
- setPlayerName
- getPlayerIdleTime
- resendPlayerModInfo
- isVoiceEnabled
- setPlayerVoiceBroadcastTo
- setPlayerVoiceIgnoreFrom
Radar area functions
Template:AR/Radar area functions
Resource functions
هذي الوظيفه تقوم بنسخ المود
Serial functions
Server functions
Settings registry functions
Template:AR/Settings registry functions