IT/Funzioni Client-side
Jump to navigation
Jump to search
« Torna alla Pagina principale italiana ▇▇▇.
Questa è una lista di funzioni scripting client-side che sono state implementate e sono presenti come funzioni native della mod deathmatch. Per richiedere una funzione o evento usa la pagina Requested Functions and Events(inglese).
Funzioni audio
- getSoundMinDistance
- getSoundPosition
- getSoundSpeed
- getSoundVolume
- isSoundPaused
- playSound
- playSound3D
- setRadioChannel
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPaused
- setSoundPosition
- setSoundSpeed
- setSoundVolume
- stopSound
Funzioni segnalini
- createBlip
- createBlipAttachedTo
- getBlipIcon
- getBlipSize
- getBlipColor
- setBlipIcon
- setBlipSize
- setBlipColor
Funzioni telecamera
Funzioni corpo e vestiti
- addPlayerClothes
- getBodyPartName
- getClothesByTypeIndex
- getClothesTypeName
- getTypeIndexFromClothes
- removePlayerClothes
- getPlayerClothes
Funzioni sui collision shape
Funzioni cursore
Funzioni di disegno
Funzioni elementi
- getElementAttachedTo
- getElementBoundingBox
- getElementByID
- getElementChild
- getElementChildren
- getElementChildrenCount
- getElementData
- getElementDimension
- getElementDistanceFromCentreOfMassToBaseOfModel
- getElementHealth
- getElementID
- getElementInterior
- getElementParent
- getElementPosition
- getElementRadius
- getElementsByType
- getElementsWithinColShape
- getElementType
- getElementVelocity
- getRootElement
- isElement
- isElementAttached
- isElementLocal
- isElementOnScreen
- isElementStreamable
- isElementStreamedIn
- isElementWithinColShape
- setElementAlpha
- setElementCollisionsEnabled
- setElementData
- setElementDimension
- attachElements
- detachElements
- getElementColShape
- getElementMatrix
- getElementModel
- getElementRotation
- isElementInWater
- isElementSyncer
- setElementModel
- setElementRotation
Funzioni motore
- engineImportTXD
- engineLoadCOL
- engineLoadDFF
- engineLoadTXD
- engineReplaceCOL
- engineReplaceModel
- engineRestoreCOL
- engineRestoreModel
Funzioni eventi
- addEvent
- addEventHandler
- cancelEvent
- removeEventHandler
- triggerEvent
- triggerServerEvent
- wasEventCanceled
Funzioni esplosioni
Funzioni interfaccia (GUI)
- guiGetAlpha
- guiGetInputEnabled
- guiGetPosition
- guiGetProperties
- guiGetProperty
- guiGetScreenSize
- guiGetSize
- guiGetText
- guiGetFont
- guiGetVisible
- guiSetAlpha
- guiSetInputEnabled
- guiSetPosition
- guiSetProperty
- guiSetSize
- guiSetText
- guiSetFont
- guiSetVisible
- isChatBoxInputActive
- isConsoleActive
- isDebugViewActive
- isMainMenuActive
- isMTAWindowActive
- isTransferBoxActive
Pulsanti
Caselle di controllo
Campi di modifica
Liste
- guiCreateGridList
- guiGridListAutoSizeColumn
- guiGridListAddColumn
- guiGridListAddRow
- guiGridListClear
- guiGridListGetItemData
- guiGridListGetItemText
- guiGridListGetSelectedItem
- guiGridListGetRowCount
- guiGridListInsertRowAfter
- guiGridListRemoveColumn
- guiGridListRemoveRow
- guiGridListSetScrollBars
- guiGridListSetSortingEnabled
- guiGridListSetItemData
- guiGridListSetItemText
- guiGridListSetSelectedItem
- guiGridListSetSelectionMode
Memo
Barre di progressione
Pulsanti di selezione(Radio)
Barre di scorrimento
Scroll panes
- guiCreateScrollPane
- guiScrollPaneSetScrollBars
- guiScrollPaneSetHorizontalScrollPosition
- guiScrollPaneSetVerticalScrollPosition
- guiScrollPaneGetHorizontalScrollPosition
- guiScrollPaneGetVerticalScrollPosition
Immagini statiche
Pannelli tab
Tab
Etichette testuali
- guiCreateLabel
- guiLabelSetColor
- guiLabelSetVerticalAlign
- guiLabelSetHorizontalAlign
- guiLabelGetTextExtent
- guiLabelGetFontHeight
Finestre
Funzioni input
- getControlState
- isControlEnabled
- setControlState
- toggleControl
- toggleAllControls
- getCursorPosition
- addCommandHandler
- removeCommandHandler
- executeCommandHandler
- getBoundKeys
- getAnalogControlState
- setCursorPosition
Funzioni marker
- createMarker
- getMarkerCount
- getMarkerType
- getMarkerSize
- getMarkerColor
- getMarkerTarget
- isElementWithinMarker
- getMarkerIcon
- setMarkerType
- setMarkerSize
- setMarkerColor
- setMarkerTarget
- setMarkerIcon
Funzioni oggetti
Funzioni output
Funzioni pedoni
- canPedBeKnockedOffBike
- createPed
- doesPedHaveJetPack
- getPedAmmoInClip
- getPedAnimation
- getPedAnimationData
- getPedArmor
- getPedBonePosition
- getPedClothes
- getPedContactElement
- getPedControlState
- getPedOccupiedVehicle
- getPedRotation
- getPedSimplestTask
- getPedSkin
- getPedStat
- getPedTarget
- getPedTargetCollision
- getPedTargetEnd
- getPedTargetRange
- getPedTargetStart
- getPedTask
- getPedTotalAmmo
- getPedVoice
- getPedWeapon
- getPedWeaponMuzzlePosition
- getPedWeaponSlot
- isPedChoking
- isPedDoingGangDriveby
- isPedDoingTask
- isPedDucked
- isPedFrozen
- isPedHeadless
- isPedInVehicle
- isPedInWater
- isPedOnFire
- isPedOnGround
- setPedAimTarget
- setPedAnimation
- setPedCameraRotation
- setPedCanBeKnockedOffBike
- setPedControlState
- setPedDoingGangDriveby
- setPedFrozen
- setPedHeadless
- setPedLookAt
- setPedOnFire
- setPedRotation
- setPedSkin
- setPedVoice
- setPedWeaponSlot
Funzioni pickups
Funzioni giocatore
- getLocalPlayer
- getPlayerMapBoundingBox
- getPlayerMapOpacity
- isPlayerMapVisible
- resetBlurLevel
- isPlayerHudComponentVisible
- Shared
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState
Funzioni esplosivi
- createProjectile
- getProjectileCounter
- getProjectileCreator
- getProjectileForce
- getProjectileTarget
- getProjectileType
- setProjectileCounter
- Shared
- detonateSatchels
Funzioni radar
Shared
- createRadarArea
- getRadarAreaColor
- getRadarAreaSize
- isInsideRadarArea
- isRadarAreaFlashing
- setRadarAreaColor
- setRadarAreaFlashing
- setRadarAreaSize
Funzioni risorse
- getResourceGUIElement
- Shared
- abortRemoteRequest
- call
- fetchRemote
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceName
- getResourceRootElement
- getResourceState
- getThisResource
- getRemoteRequests
- getRemoteRequestInfo
Funzioni seriale
Funzioni team
- Shared
- countPlayersInTeam
- getPlayerTeam
- getPlayersInTeam
- getTeamColor
- getTeamFriendlyFire
- getTeamFromName
- getTeamName
Utility
- createTrayNotification
- downloadFile
- getDevelopmentMode
- getKeyboardLayout
- getLocalization
- isShowCollisionsEnabled
- isShowSoundEnabled
- isTransferBoxAlwaysVisible
- isTransferBoxVisible
- isTrayNotificationEnabled
- setClipboard
- setDevelopmentMode
- setTransferBoxVisible
- setWindowFlashing
- showCol
- showSound
- Shared
- addDebugHook
- base64Decode
- base64Encode
- debugSleep
- decodeString
- encodeString
- fromJSON
- generateKeyPair
- getColorFromString
- getDevelopmentMode
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- getEasingValue
- getNetworkStats
- getNetworkUsageData
- getPerformanceStats
- getRealTime
- getTickCount
- getTimerDetails
- getTimers
- getFPSLimit
- getUserdataType
- getVersion
- gettok
- isTransferBoxVisible
- setTransferBoxVisible
- hash
- inspect
- interpolateBetween
- iprint
- isOOPEnabled
- isTimer
- killTimer
- md5
- passwordHash
- passwordVerify
- pregFind
- pregMatch
- pregReplace
- removeDebugHook
- resetTimer
- setDevelopmentMode
- setFPSLimit
- setTimer
- ref
- deref
- sha256
- split
- teaDecode
- teaEncode
- toJSON
- tocolor
- getProcessMemoryStats
- utfChar
- utfCode
- utfLen
- utfSeek
- utfSub
- bitAnd
- bitNot
- bitOr
- bitXor
- bitTest
- bitLRotate
- bitRRotate
- bitLShift
- bitRShift
- bitArShift
- bitExtract
- bitReplace
Funzioni veicolo
- areVehicleLightsOn
- getHeliBladeCollisionsEnabled
- getHelicopterRotorSpeed
- getVehicleAdjustableProperty
- getVehicleComponentPosition
- getVehicleComponentRotation
- getVehicleComponents
- getVehicleComponentScale
- getVehicleComponentVisible
- getVehicleCurrentGear
- getVehicleDummyPosition
- getVehicleGravity
- getVehicleLandingGearDown
- getVehicleModelDummyDefaultPosition
- getVehicleModelDummyPosition
- getVehicleModelExhaustFumesPosition
- getVehicleModelWheelSize
- getVehicleNitroCount
- getVehicleNitroLevel
- getVehicleWheelFrictionState
- getVehicleWheelScale
- isTrainChainEngine
- isVehicleNitroActivated
- isVehicleNitroRecharging
- isVehicleOnGround
- isVehicleWheelOnGround
- isVehicleWindowOpen
- resetVehicleComponentPosition
- resetVehicleComponentRotation
- resetVehicleComponentScale
- resetVehicleDummyPositions
- setHeliBladeCollisionsEnabled
- setHelicopterRotorSpeed
- setVehicleAdjustableProperty
- setVehicleComponentPosition
- setVehicleComponentRotation
- setVehicleComponentScale
- setVehicleComponentVisible
- setVehicleDummyPosition
- setVehicleGravity
- setVehicleLandingGearDown
- setVehicleModelDummyPosition
- setVehicleModelExhaustFumesPosition
- setVehicleModelWheelSize
- setVehicleNitroActivated
- setVehicleNitroCount
- setVehicleNitroLevel
- setVehicleWheelScale
- setVehicleWheelStates
- setVehicleWindowOpen
- Shared
- addVehicleUpgrade
- attachTrailerToVehicle
- blowVehicle
- createVehicle
- detachTrailerFromVehicle
- fixVehicle
- getOriginalHandling
- getTrainDirection
- getTrainPosition
- getTrainSpeed
- getTrainTrack
- getVehicleColor
- getVehicleCompatibleUpgrades
- getVehicleController
- getVehicleDoorOpenRatio
- getVehicleDoorState
- getVehicleEngineState
- getVehicleHandling
- getVehicleHeadLightColor
- getVehicleLandingGearDown
- getVehicleLightState
- getVehicleMaxPassengers
- getVehicleModelFromName
- getVehicleName
- getVehicleNameFromModel
- getVehicleOccupant
- getVehicleOccupants
- getVehicleOverrideLights
- getVehiclePaintjob
- getVehiclePanelState
- getVehiclePlateText
- getVehicleSirenParams
- getVehicleSirens
- getVehicleSirensOn
- getVehicleTowedByVehicle
- getVehicleTowingVehicle
- getVehicleTurretPosition
- getVehicleType
- getVehicleUpgradeOnSlot
- getVehicleUpgradeSlotName
- getVehicleUpgrades
- getVehicleVariant
- getVehicleWheelStates
- isTrainDerailable
- isTrainDerailed
- isVehicleBlown
- isVehicleDamageProof
- isVehicleFuelTankExplodable
- isVehicleLocked
- isVehicleOnGround
- isVehicleTaxiLightOn
- removeVehicleUpgrade
- setTrainDerailable
- setTrainDerailed
- setTrainDirection
- setTrainPosition
- setTrainSpeed
- setTrainTrack
- setVehicleColor
- setVehicleDamageProof
- setVehicleDoorOpenRatio
- setVehicleDoorState
- setVehicleDoorsUndamageable
- setVehicleEngineState
- setVehicleFuelTankExplodable
- setVehicleHandling
- setVehicleHeadLightColor
- setVehicleLandingGearDown
- setVehicleLightState
- setVehicleLocked
- setVehicleOverrideLights
- setVehiclePaintjob
- setVehiclePanelState
- setVehiclePlateText
- setVehicleSirens
- setVehicleSirensOn
- setVehicleTaxiLightOn
- setVehicleTurretPosition
- setVehicleVariant
- setVehicleWheelStates
Funzioni armi
- Shared
- getWeaponProperty
- getPickupWeapon
- getOriginalWeaponProperty
- getSlotFromWeapon
- getWeaponIDFromName
- getWeaponNameFromID
- setWeaponAmmo
- setWeaponProperty
Funzioni mondo
- createSWATRope
- getBirdsEnabled
- getCoronaReflectionsEnabled
- getGarageBoundingBox
- getGaragePosition
- getGarageSize
- getGroundPosition
- getInteriorFurnitureEnabled
- getNearClipDistance
- getPedsLODDistance
- getRoofPosition
- getScreenFromWorldPosition
- getVehiclesLODDistance
- getWorldFromScreenPosition
- isAmbientSoundEnabled
- isLineOfSightClear
- isWorldSoundEnabled
- processLineOfSight
- resetAmbientSounds
- resetBlurLevel
- resetColorFilter
- resetCoronaReflectionsEnabled
- resetNearClipDistance
- resetPedsLODDistance
- resetVehiclesLODDistance
- resetWorldSounds
- setAmbientSoundEnabled
- setBirdsEnabled
- setColorFilter
- setCoronaReflectionsEnabled
- setInteriorFurnitureEnabled
- setInteriorSoundsEnabled
- setNearClipDistance
- setPedsLODDistance
- setVehiclesLODDistance
- setWorldSoundEnabled
- testLineAgainstWater
- areTrafficLightsLocked
- getAircraftMaxHeight
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getInteriorSoundsEnabled
- getJetpackMaxHeight
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getSkyGradient
- getPlayerBlurLevel
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxHeight
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- setJetpackMaxHeight
- setPlayerBlurLevel
Funzioni XML
Shared