IT/Funzioni Client-side: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<pageclass class="client"></pageclass> | <pageclass class="client"></pageclass> | ||
[[Category: | [[Category:25%]] | ||
[[Category:IT/Client-side]] | [[Category:IT/Client-side]] | ||
{{IT/MainP}} | {{IT/MainP}} |
Revision as of 14:52, 11 June 2008
« 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
- isPlayerDead
- isPlayerMapVisible
- isPlayerMuted
- getLocalPlayer
- getPlayerName
- getPlayerPing
- getPlayerTeam
- getPlayerNametagText
- getPlayerNametagColor
- showPlayerHudComponent
- getPlayerMoney
- setPlayerMoney
- givePlayerMoney
- takePlayerMoney
- setPlayerNametagText
- setPlayerNametagColor
Prima della versione DP3
- getPlayerAmmoInClip
- getPlayerArmor
- getPlayerContactElement
- getPlayerOccupiedVehicle
- getPlayerRotation
- getPlayerTarget
- getPlayerTargetCollision
- getPlayerTargetStart
- getPlayerTargetEnd
- getPlayerTargetRange
- getPlayerSimplestTask
- getPlayerSkin
- getPlayerStat
- getPlayerTask
- getPlayerTotalAmmo
- getPlayerWeaponSlot
- getPlayerWeapon
Funzioni proiettili
Funzioni aree radar
- getRadarAreaColor
- getRadarAreaSize
- isInsideRadarArea
- isRadarAreaFlashing
- setRadarAreaColor
- setRadarAreaFlashing
- setRadarAreaSize
Funzioni risorse
- call
- getThisResource
- getResourceName
- getResourceConfig
- getResourceFromName
- getResourceGUIElement
- getResourceRootElement
Funzioni seriale
Funzioni team
Utility
- getDistanceBetweenPoints2D
- getDistanceBetweenPoints3D
- gettok
- split
- setTimer
- killTimer
- getTimers
- getTickCount
Funzioni veicolo
- createVehicle
- getVehicleColor
- isVehicleLocked
- getVehicleWheelStates
- isVehicleFuelTankExplodable
- isVehicleFrozen
- isVehicleOnGround
- getVehicleID
- getVehicleIDFromName
- getVehicleLandingGearDown
- getVehicleMaxPassengers
- getVehicleOccupant
- getVehicleController
- getVehicleRotation
- getVehicleSirensOn
- getVehicleTurnVelocity
- getVehicleTurretPosition
- getVehicleUpgradeOnSlot
- getVehicleUpgradeSlotName
- getVehicleUpgrades
- getVehicleCompatibleUpgrades
- getVehicleDoorState
- getVehicleLightState
- getVehiclePanelState
- getVehicleOverrideLights
- getVehicleTowedByVehicle
- getVehicleTowingVehicle
- getVehiclePaintjob
- getVehiclePlateText
- getVehicleName
- getVehicleNameFromID
- getVehicleAdjustableProperty
- fixVehicle
- blowVehicle
- setVehicleRotation
- setVehicleTurnVelocity
- setVehicleColor
- setVehicleLandingGearDown
- setVehicleLocked
- setVehicleModel
- setVehicleDoorsUndamageable
- setVehicleSirensOn
- addVehicleUpgrade
- removeVehicleUpgrade
- setVehicleDoorState
- setVehicleWheelStates
- setVehicleLightState
- setVehiclePanelState
- setVehicleOverrideLights
- attachTrailerToVehicle
- detachTrailerFromVehicle
- setVehicleEngineState
- setVehicleDirtLevel
- setVehicleDamageProof
- setVehicleGunsEnabled
- setVehiclePaintjob
- setVehicleFuelTankExplodable
- setVehicleFrozen
- setVehicleAdjustableProperty
Funzioni armi
Funzioni mondo
- getGameSpeed
- getGravity
- getGroundPosition
- getScreenFromWorldPosition
- getTime
- getWaterLevel
- getWeather
- getWorldFromScreenPosition
- getZoneName
- isLineOfSightClear
- processLineOfSight
- getWaveHeight
- setGameSpeed
- setGravity
- setSkyGradient
- setTime
- setWeather
- setWeatherBlended
- resetSkyGradient
- testLineAgainstWater
- setWaveHeight