AR/Server Scripting Functions: Difference between revisions
(Created page with "<pageclass class="server"></pageclass> {{Adding_Pages_to_Categories_and_Templates}} This page lists all the '''server-side''' scripting functions that have been implemented and a...") |
No edit summary |
||
Line 13: | Line 13: | ||
==Account functions== | ==Account functions== | ||
{{Account_functions}} | {{AR/Account_functions}} | ||
==ACL functions== | ==ACL functions== | ||
{{ACL_functions}} | {{AR/ACL_functions}} | ||
==Admin functions== | ==Admin functions== | ||
{{Admin_functions}} | {{AR/Admin_functions}} | ||
==Audio functions== | ==Audio functions== | ||
{{Audio_functions}} | {{AR/Audio_functions}} | ||
==Announcement functions== | ==Announcement functions== | ||
{{Announce_functions}} | {{AR/Announce_functions}} | ||
==Blip functions== | ==Blip functions== | ||
{{Blip_functions}} | {{AR/Blip_functions}} | ||
==Camera functions== | ==Camera functions== | ||
{{Camera functions}} | {{AR/Camera functions}} | ||
==Collision shape functions== | ==Collision shape functions== | ||
{{Collision shape functions}} | {{AR/Collision shape functions}} | ||
==Clothes and body functions== | ==Clothes and body functions== | ||
{{Clothes and body functions}} | {{AR/Clothes and body functions}} | ||
==Cursor functions== | ==Cursor functions== | ||
{{Cursor_functions}} | {{AR/Cursor_functions}} | ||
==Element functions== | ==Element functions== | ||
{{Element functions}} | {{AR/Element functions}} | ||
==Event functions== | ==Event functions== | ||
{{Event_functions}} | {{AR/Event_functions}} | ||
==Explosion functions== | ==Explosion functions== | ||
{{Explosion_functions}} | {{AR/Explosion_functions}} | ||
==File functions== | ==File functions== | ||
{{File_functions}} | {{AR/File_functions}} | ||
==HTTP functions== | ==HTTP functions== | ||
{{HTTP_functions}} | {{AR/HTTP_functions}} | ||
==Input functions== | ==Input functions== | ||
{{Input_functions}} | {{AR/Input_functions}} | ||
==Map functions== | ==Map functions== | ||
{{Map_functions}} | {{AR/Map_functions}} | ||
==Marker functions== | ==Marker functions== | ||
{{Marker functions}} | {{AR/Marker functions}} | ||
==Module functions== | ==Module functions== | ||
{{Module functions}} | {{AR/Module functions}} | ||
==Object functions== | ==Object functions== | ||
{{Object functions}} | {{AR/Object functions}} | ||
==Ped functions== | ==Ped functions== | ||
{{Ped_functions}} | {{AR/Ped_functions}} | ||
==Pickup functions== | ==Pickup functions== | ||
{{Pickup functions}} | {{AR/Pickup functions}} | ||
==Player functions== | ==Player functions== | ||
{{Player functions}} | {{AR/Player functions}} | ||
==Radar area functions== | ==Radar area functions== | ||
{{Radar area functions}} | {{AR/Radar area functions}} | ||
==Resource functions== | ==Resource functions== | ||
{{Resource functions}} | {{AR/Resource functions}} | ||
==Serial functions== | ==Serial functions== | ||
{{Serial functions}} | {{AR/Serial functions}} | ||
==Server functions== | ==Server functions== | ||
{{Server functions}} | {{AR/Server functions}} | ||
==Settings registry functions== | ==Settings registry functions== | ||
{{Settings registry functions}} | {{AR/Settings registry functions}} | ||
==SQL functions== | ==SQL functions== | ||
{{SQL_functions}} | {{AR/SQL_functions}} | ||
==Team functions== | ==Team functions== | ||
{{Team functions}} | {{AR/Team functions}} | ||
==Text functions== | ==Text functions== | ||
{{Text functions}} | {{AR/Text functions}} | ||
==Utility functions== | ==Utility functions== | ||
{{Utility functions}} | {{AR/Utility functions}} | ||
==Vehicle functions== | ==Vehicle functions== | ||
{{Vehicle functions}} | {{AR/Vehicle functions}} | ||
==Water functions== | ==Water functions== | ||
{{Water functions}} | {{AR/Water functions}} | ||
==Weapon functions== | ==Weapon functions== | ||
{{Weapon functions}} | {{AR/Weapon functions}} | ||
==World functions== | ==World functions== | ||
{{World functions}} | {{AR/World functions}} | ||
==XML functions== | ==XML functions== | ||
{{XML functions}} | {{AR/XML functions}} | ||
[[ | [[en:Server Scripting Functions]] | ||
[[es:Funciones_del_Server]] | [[es:Funciones_del_Server]] | ||
[[de:Server-Seitige Scripting Funktionen]] | [[de:Server-Seitige Scripting Funktionen]] |
Revision as of 03:44, 25 August 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
Blip 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