Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
Line 488: Line 488:


==Graphics==
==Graphics==
**[[Graphics::notify|Graphics::notify(text)]]
* [[Graphics::notify|Graphics::notify(text)]]
**[[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scale, x, y[, z])]]
* [[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scale, x, y[, z])]]
**[[Graphics::drawText3d|Graphics::drawText3d(text, pos, rotation, scale, r, g, b, a[, initialOffsetScaled])]]
* [[Graphics::drawText3d|Graphics::drawText3d(text, pos, rotation, scale, r, g, b, a[, initialOffsetScaled])]]
**[[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]
* [[Graphics::getSafeZoneSize|Graphics::getSafeZoneSize()]]
**[[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]
* [[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]
**[[Graphics::hasStreamedTextureDictLoaded|Graphics::hasStreamedTextureDictLoaded(textureDict)]]
* [[Graphics::hasStreamedTextureDictLoaded|Graphics::hasStreamedTextureDictLoaded(textureDict)]]
**[[Graphics::stopScreenEffect|Graphics::stopScreenEffect(effectName)]]
* [[Graphics::stopScreenEffect|Graphics::stopScreenEffect(effectName)]]
**[[Graphics::drawDebugBox|Graphics::drawDebugBox(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
* [[Graphics::drawDebugBox|Graphics::drawDebugBox(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
**[[Graphics::setFlash|Graphics::setFlash(p0, p1, fadeIn, duration, fadeOut)]]
* [[Graphics::setFlash|Graphics::setFlash(p0, p1, fadeIn, duration, fadeOut)]]
**[[Graphics::loadTvChannel|Graphics::loadTvChannel(tvChannel)]]
* [[Graphics::loadTvChannel|Graphics::loadTvChannel(tvChannel)]]
**[[Graphics::hasNamedScaleformMovieLoaded|Graphics::hasNamedScaleformMovieLoaded(scaleformName)]]
* [[Graphics::hasNamedScaleformMovieLoaded|Graphics::hasNamedScaleformMovieLoaded(scaleformName)]]
**[[Graphics::startParticleFxNonLoopedOnEntity|Graphics::startParticleFxNonLoopedOnEntity(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ)]]
* [[Graphics::startParticleFxNonLoopedOnEntity|Graphics::startParticleFxNonLoopedOnEntity(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ)]]
**[[Graphics::drawScaleformMovieFullscreen|Graphics::drawScaleformMovieFullscreen(scaleform, red, green, blue, alpha, unk)]]
* [[Graphics::drawScaleformMovieFullscreen|Graphics::drawScaleformMovieFullscreen(scaleform, red, green, blue, alpha, unk)]]
**[[Graphics::startParticleFxNonLoopedOnPedBone|Graphics::startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ)]]
* [[Graphics::startParticleFxNonLoopedOnPedBone|Graphics::startParticleFxNonLoopedOnPedBone(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ)]]
**[[Graphics::setTvAudioFrontend|Graphics::setTvAudioFrontend(toggle)]]
* [[Graphics::setTvAudioFrontend|Graphics::setTvAudioFrontend(toggle)]]
**[[Graphics::requestScaleformMovie|Graphics::requestScaleformMovie(scaleformName)]]
* [[Graphics::requestScaleformMovie|Graphics::requestScaleformMovie(scaleformName)]]
**[[Graphics::setBlackout|Graphics::setBlackout(enable)]]
* [[Graphics::setBlackout|Graphics::setBlackout(enable)]]
**[[Graphics::setTrackedPointInfo|Graphics::setTrackedPointInfo(point, x, y, z, radius)]]
* [[Graphics::setTrackedPointInfo|Graphics::setTrackedPointInfo(point, x, y, z, radius)]]
**[[Graphics::setDebugLinesAndSpheresDrawingActive|Graphics::setDebugLinesAndSpheresDrawingActive(enabled)]]
* [[Graphics::setDebugLinesAndSpheresDrawingActive|Graphics::setDebugLinesAndSpheresDrawingActive(enabled)]]
**[[Graphics::setNightvision|Graphics::setNightvision(toggle)]]
* [[Graphics::setNightvision|Graphics::setNightvision(toggle)]]
**[[Graphics::startParticleFxLoopedOnEntity|Graphics::startParticleFxLoopedOnEntity(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxLoopedOnEntity|Graphics::startParticleFxLoopedOnEntity(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::drawScaleformMovie3dNonAdditive|Graphics::drawScaleformMovie3dNonAdditive(scaleform, posX, posY, posZ, rotX, rotY, rotZ, p7, p8, p9, scaleX, scaleY, scaleZ, p13)]]
* [[Graphics::drawScaleformMovie3dNonAdditive|Graphics::drawScaleformMovie3dNonAdditive(scaleform, posX, posY, posZ, rotX, rotY, rotZ, p7, p8, p9, scaleX, scaleY, scaleZ, p13)]]
**[[Graphics::setScaleformMovieAsNoLongerNeeded|Graphics::setScaleformMovieAsNoLongerNeeded(scaleformHandle)]]
* [[Graphics::setScaleformMovieAsNoLongerNeeded|Graphics::setScaleformMovieAsNoLongerNeeded(scaleformHandle)]]
**[[Graphics::startScreenEffect|Graphics::startScreenEffect(effectName, duration, looped)]]
* [[Graphics::startScreenEffect|Graphics::startScreenEffect(effectName, duration, looped)]]
**[[Graphics::startParticleFxNonLoopedAtCoord|Graphics::startParticleFxNonLoopedAtCoord(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxNonLoopedAtCoord|Graphics::startParticleFxNonLoopedAtCoord(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::setParticleFxNonLoopedColour|Graphics::setParticleFxNonLoopedColour(r, g, b)]]
* [[Graphics::setParticleFxNonLoopedColour|Graphics::setParticleFxNonLoopedColour(r, g, b)]]
**[[Graphics::drawMarker|Graphics::drawMarker(type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, colorR, colorG, colorB, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts)]]
* [[Graphics::drawMarker|Graphics::drawMarker(type, posX, posY, posZ, dirX, dirY, dirZ, rotX, rotY, rotZ, scaleX, scaleY, scaleZ, colorR, colorG, colorB, alpha, bobUpAndDown, faceCamera, p19, rotate, textureDict, textureName, drawOnEnts)]]
**[[Graphics::setTvVolume|Graphics::setTvVolume(volume)]]
* [[Graphics::setTvVolume|Graphics::setTvVolume(volume)]]
**[[Graphics::setTimecycleModifier|Graphics::setTimecycleModifier(modifierName)]]
* [[Graphics::setTimecycleModifier|Graphics::setTimecycleModifier(modifierName)]]
**[[Graphics::getDecalWashLevel|Graphics::getDecalWashLevel(decal)]]
* [[Graphics::getDecalWashLevel|Graphics::getDecalWashLevel(decal)]]
**[[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(pos)]]
* [[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(pos)]]
**[[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(x, y, z)]]
* [[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(x, y, z)]]
**[[Graphics::getTextureResolution|Graphics::getTextureResolution(textureDict, textureName)]]
* [[Graphics::getTextureResolution|Graphics::getTextureResolution(textureDict, textureName)]]
**[[Graphics::getScreenEffectIsActive|Graphics::getScreenEffectIsActive(effectName)]]
* [[Graphics::getScreenEffectIsActive|Graphics::getScreenEffectIsActive(effectName)]]
**[[Graphics::drawDebugText|Graphics::drawDebugText(text, x, y, z, r, g, b, alpha)]]
* [[Graphics::drawDebugText|Graphics::drawDebugText(text, x, y, z, r, g, b, alpha)]]
**[[Graphics::drawRect|Graphics::drawRect(x, y, width, height, r, g, b, a)]]
* [[Graphics::drawRect|Graphics::drawRect(x, y, width, height, r, g, b, a)]]
**[[Graphics::setTransitionTimecycleModifier|Graphics::setTransitionTimecycleModifier(modifierName, transition)]]
* [[Graphics::setTransitionTimecycleModifier|Graphics::setTransitionTimecycleModifier(modifierName, transition)]]
**[[Graphics::setForceVehicleTrails|Graphics::setForceVehicleTrails(toggle)]]
* [[Graphics::setForceVehicleTrails|Graphics::setForceVehicleTrails(toggle)]]
**[[Graphics::addPetrolDecal|Graphics::addPetrolDecal(x, y, z, groundLvl, width, transparency)]]
* [[Graphics::addPetrolDecal|Graphics::addPetrolDecal(x, y, z, groundLvl, width, transparency)]]
**[[Graphics::callScaleformMovieFunctionStringParams|Graphics::callScaleformMovieFunctionStringParams(scaleform, functionName, param1, param2, param3, param4, param5)]]
* [[Graphics::callScaleformMovieFunctionStringParams|Graphics::callScaleformMovieFunctionStringParams(scaleform, functionName, param1, param2, param3, param4, param5)]]
**[[Graphics::drawScaleformMovie|Graphics::drawScaleformMovie(scaleformHandle, x, y, width, height, red, green, blue, alpha, p9)]]
* [[Graphics::drawScaleformMovie|Graphics::drawScaleformMovie(scaleformHandle, x, y, width, height, red, green, blue, alpha, p9)]]
**[[Graphics::drawSpotLightWithShadow|Graphics::drawSpotLightWithShadow(posX, posY, posZ, dirX, dirY, dirZ, colorR, colorG, colorB, distance, brightness, roundness, radius, falloff, shadow)]]
* [[Graphics::drawSpotLightWithShadow|Graphics::drawSpotLightWithShadow(posX, posY, posZ, dirX, dirY, dirZ, colorR, colorG, colorB, distance, brightness, roundness, radius, falloff, shadow)]]
**[[Graphics::removeDecalsInRange|Graphics::removeDecalsInRange(x, y, z, range)]]
* [[Graphics::removeDecalsInRange|Graphics::removeDecalsInRange(x, y, z, range)]]
**[[Graphics::setParticleFxLoopedEvolution|Graphics::setParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, Id)]]
* [[Graphics::setParticleFxLoopedEvolution|Graphics::setParticleFxLoopedEvolution(ptfxHandle, propertyName, amount, Id)]]
**[[Graphics::setParticleFxBloodScale|Graphics::setParticleFxBloodScale(p0)]]
* [[Graphics::setParticleFxBloodScale|Graphics::setParticleFxBloodScale(p0)]]
**[[Graphics::set2dLayer|Graphics::set2dLayer(layer)]]
* [[Graphics::set2dLayer|Graphics::set2dLayer(layer)]]
**[[Graphics::drawLine|Graphics::drawLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
* [[Graphics::drawLine|Graphics::drawLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
**[[Graphics::setPtfxAssetNextCall|Graphics::setPtfxAssetNextCall(name)]]
* [[Graphics::setPtfxAssetNextCall|Graphics::setPtfxAssetNextCall(name)]]
**[[Graphics::setScaleformMovieToUseSystemTime|Graphics::setScaleformMovieToUseSystemTime(scaleform, toggle)]]
* [[Graphics::setScaleformMovieToUseSystemTime|Graphics::setScaleformMovieToUseSystemTime(scaleform, toggle)]]
**[[Graphics::startParticleFxLoopedOnEntity2|Graphics::startParticleFxLoopedOnEntity2(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxLoopedOnEntity2|Graphics::startParticleFxLoopedOnEntity2(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::setParticleFxLoopedAlpha|Graphics::setParticleFxLoopedAlpha(ptfxHandle, alpha)]]
* [[Graphics::setParticleFxLoopedAlpha|Graphics::setParticleFxLoopedAlpha(ptfxHandle, alpha)]]
**[[Graphics::drawDebugCross|Graphics::drawDebugCross(x, y, z, size, r, g, b, alpha)]]
* [[Graphics::drawDebugCross|Graphics::drawDebugCross(x, y, z, size, r, g, b, alpha)]]
**[[Graphics::doesParticleFxLoopedExist|Graphics::doesParticleFxLoopedExist(ptfxHandle)]]
* [[Graphics::doesParticleFxLoopedExist|Graphics::doesParticleFxLoopedExist(ptfxHandle)]]
**[[Graphics::setParticleFxNonLoopedAlpha|Graphics::setParticleFxNonLoopedAlpha(alpha)]]
* [[Graphics::setParticleFxNonLoopedAlpha|Graphics::setParticleFxNonLoopedAlpha(alpha)]]
**[[Graphics::setSeethrough|Graphics::setSeethrough(toggle)]]
* [[Graphics::setSeethrough|Graphics::setSeethrough(toggle)]]
**[[Graphics::setParticleFxLoopedColour|Graphics::setParticleFxLoopedColour(ptfxHandle, r, g, b, p4)]]
* [[Graphics::setParticleFxLoopedColour|Graphics::setParticleFxLoopedColour(ptfxHandle, r, g, b, p4)]]
**[[Graphics::drawDebugLine|Graphics::drawDebugLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
* [[Graphics::drawDebugLine|Graphics::drawDebugLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
**[[Graphics::beginTextComponent|Graphics::beginTextComponent(componentType)]]
* [[Graphics::beginTextComponent|Graphics::beginTextComponent(componentType)]]
**[[Graphics::setFarShadowsSuppressed|Graphics::setFarShadowsSuppressed(toggle)]]
* [[Graphics::setFarShadowsSuppressed|Graphics::setFarShadowsSuppressed(toggle)]]
**[[Graphics::hasScaleformContainerMovieLoadedIntoParent|Graphics::hasScaleformContainerMovieLoadedIntoParent(scaleformHandle)]]
* [[Graphics::hasScaleformContainerMovieLoadedIntoParent|Graphics::hasScaleformContainerMovieLoadedIntoParent(scaleformHandle)]]
**[[Graphics::setTimecycleModifierStrength|Graphics::setTimecycleModifierStrength(strength)]]
* [[Graphics::setTimecycleModifierStrength|Graphics::setTimecycleModifierStrength(strength)]]
**[[Graphics::moveVehicleDecals|Graphics::moveVehicleDecals(p0, p1)]]
* [[Graphics::moveVehicleDecals|Graphics::moveVehicleDecals(p0, p1)]]
**[[Graphics::hasScaleformMovieLoaded|Graphics::hasScaleformMovieLoaded(scaleformHandle)]]
* [[Graphics::hasScaleformMovieLoaded|Graphics::hasScaleformMovieLoaded(scaleformHandle)]]
**[[Graphics::getScreenActiveResolution|Graphics::getScreenActiveResolution(x, y)]]
* [[Graphics::getScreenActiveResolution|Graphics::getScreenActiveResolution(x, y)]]
**[[Graphics::enableMovieSubtitles|Graphics::enableMovieSubtitles(toggle)]]
* [[Graphics::enableMovieSubtitles|Graphics::enableMovieSubtitles(toggle)]]
**[[Graphics::drawScaleformMovie3d|Graphics::drawScaleformMovie3d(scaleform, posX, posY, posZ, rotX, rotY, rotZ, p7, p8, p9, scaleX, scaleY, scaleZ, p13)]]
* [[Graphics::drawScaleformMovie3d|Graphics::drawScaleformMovie3d(scaleform, posX, posY, posZ, rotX, rotY, rotZ, p7, p8, p9, scaleX, scaleY, scaleZ, p13)]]
**[[Graphics::getScreenResolution|Graphics::getScreenResolution(x, y)]]
* [[Graphics::getScreenResolution|Graphics::getScreenResolution(x, y)]]
**[[Graphics::stopParticleFxLooped|Graphics::stopParticleFxLooped(ptfxHandle, p1)]]
* [[Graphics::stopParticleFxLooped|Graphics::stopParticleFxLooped(ptfxHandle, p1)]]
**[[Graphics::requestHudScaleform|Graphics::requestHudScaleform(hudComponent)]]
* [[Graphics::requestHudScaleform|Graphics::requestHudScaleform(hudComponent)]]
**[[Graphics::setParticleFxShootoutBoat|Graphics::setParticleFxShootoutBoat(p0)]]
* [[Graphics::setParticleFxShootoutBoat|Graphics::setParticleFxShootoutBoat(p0)]]
**[[Graphics::pushScaleformMovieFunctionFromHudComponent|Graphics::pushScaleformMovieFunctionFromHudComponent(hudComponent, functionName)]]
* [[Graphics::pushScaleformMovieFunctionFromHudComponent|Graphics::pushScaleformMovieFunctionFromHudComponent(hudComponent, functionName)]]
**[[Graphics::washDecalsInRange|Graphics::washDecalsInRange(p0, p1, p2, p3, p4)]]
* [[Graphics::washDecalsInRange|Graphics::washDecalsInRange(p0, p1, p2, p3, p4)]]
**[[Graphics::enableAlienBloodVfx|Graphics::enableAlienBloodVfx(toggle)]]
* [[Graphics::enableAlienBloodVfx|Graphics::enableAlienBloodVfx(toggle)]]
**[[Graphics::transitionToBlurred|Graphics::transitionToBlurred(transitionTime)]]
* [[Graphics::transitionToBlurred|Graphics::transitionToBlurred(transitionTime)]]
**[[Graphics::drawDebugText2d|Graphics::drawDebugText2d(text, x, y, z, r, g, b, alpha)]]
* [[Graphics::drawDebugText2d|Graphics::drawDebugText2d(text, x, y, z, r, g, b, alpha)]]
**[[Graphics::startParticleFxNonLoopedOnPedBone2|Graphics::startParticleFxNonLoopedOnPedBone2(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ)]]
* [[Graphics::startParticleFxNonLoopedOnPedBone2|Graphics::startParticleFxNonLoopedOnPedBone2(effectName, ped, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, boneIndex, scale, axisX, axisY, axisZ)]]
**[[Graphics::removeDecalsFromObjectFacing|Graphics::removeDecalsFromObjectFacing(obj, x, y, z)]]
* [[Graphics::removeDecalsFromObjectFacing|Graphics::removeDecalsFromObjectFacing(obj, x, y, z)]]
**[[Graphics::setDrawOrigin|Graphics::setDrawOrigin(x, y, z, p3)]]
* [[Graphics::setDrawOrigin|Graphics::setDrawOrigin(x, y, z, p3)]]
**[[Graphics::drawDebugSphere|Graphics::drawDebugSphere(x, y, z, radius, r, g, b, alpha)]]
* [[Graphics::drawDebugSphere|Graphics::drawDebugSphere(x, y, z, radius, r, g, b, alpha)]]
**[[Graphics::pushScaleformMovieFunctionN|Graphics::pushScaleformMovieFunctionN(functionName)]]
* [[Graphics::pushScaleformMovieFunctionN|Graphics::pushScaleformMovieFunctionN(functionName)]]
**[[Graphics::drawPoly|Graphics::drawPoly(x1, y1, z1, x2, y2, z2, x3, y3, z3, r, g, b, alpha)]]
* [[Graphics::drawPoly|Graphics::drawPoly(x1, y1, z1, x2, y2, z2, x3, y3, z3, r, g, b, alpha)]]
**[[Graphics::setParticleFxCamInsideNonplayerVehicle|Graphics::setParticleFxCamInsideNonplayerVehicle(p0, p1)]]
* [[Graphics::setParticleFxCamInsideNonplayerVehicle|Graphics::setParticleFxCamInsideNonplayerVehicle(p0, p1)]]
**[[Graphics::setForcePedFootstepsTracks|Graphics::setForcePedFootstepsTracks(toggle)]]
* [[Graphics::setForcePedFootstepsTracks|Graphics::setForcePedFootstepsTracks(toggle)]]
**[[Graphics::destroyTrackedPoint|Graphics::destroyTrackedPoint(point)]]
* [[Graphics::destroyTrackedPoint|Graphics::destroyTrackedPoint(point)]]
**[[Graphics::addDecal|Graphics::addDecal(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19)]]
* [[Graphics::addDecal|Graphics::addDecal(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19)]]
**[[Graphics::setParticleFxLoopedScale|Graphics::setParticleFxLoopedScale(ptfxHandle, scale)]]
* [[Graphics::setParticleFxLoopedScale|Graphics::setParticleFxLoopedScale(ptfxHandle, scale)]]
**[[Graphics::loadMovieMeshSet|Graphics::loadMovieMeshSet(movieMeshSetName)]]
* [[Graphics::loadMovieMeshSet|Graphics::loadMovieMeshSet(movieMeshSetName)]]
**[[Graphics::setScreenDrawPosition|Graphics::setScreenDrawPosition(x, y)]]
* [[Graphics::setScreenDrawPosition|Graphics::setScreenDrawPosition(x, y)]]
**[[Graphics::pushScaleformMovieFunctionParameterString|Graphics::pushScaleformMovieFunctionParameterString(value)]]
* [[Graphics::pushScaleformMovieFunctionParameterString|Graphics::pushScaleformMovieFunctionParameterString(value)]]
**[[Graphics::setTvChannel|Graphics::setTvChannel(channel)]]
* [[Graphics::setTvChannel|Graphics::setTvChannel(channel)]]
**[[Graphics::requestScaleformMovie3|Graphics::requestScaleformMovie3(scaleformName)]]
* [[Graphics::requestScaleformMovie3|Graphics::requestScaleformMovie3(scaleformName)]]
**[[Graphics::setStreamedTextureDictAsNoLongerNeeded|Graphics::setStreamedTextureDictAsNoLongerNeeded(textureDict)]]
* [[Graphics::setStreamedTextureDictAsNoLongerNeeded|Graphics::setStreamedTextureDictAsNoLongerNeeded(textureDict)]]
**[[Graphics::pushScaleformMovieFunctionParameterInt|Graphics::pushScaleformMovieFunctionParameterInt(value)]]
* [[Graphics::pushScaleformMovieFunctionParameterInt|Graphics::pushScaleformMovieFunctionParameterInt(value)]]
**[[Graphics::removeParticleFx|Graphics::removeParticleFx(ptfxHandle, p1)]]
* [[Graphics::removeParticleFx|Graphics::removeParticleFx(ptfxHandle, p1)]]
**[[Graphics::isTrackedPointVisible|Graphics::isTrackedPointVisible(point)]]
* [[Graphics::isTrackedPointVisible|Graphics::isTrackedPointVisible(point)]]
**[[Graphics::requestScaleformMovieInstance|Graphics::requestScaleformMovieInstance(scaleformName)]]
* [[Graphics::requestScaleformMovieInstance|Graphics::requestScaleformMovieInstance(scaleformName)]]
**[[Graphics::pushScaleformMovieFunctionParameterBool|Graphics::pushScaleformMovieFunctionParameterBool(value)]]
* [[Graphics::pushScaleformMovieFunctionParameterBool|Graphics::pushScaleformMovieFunctionParameterBool(value)]]
**[[Graphics::isDecalAlive|Graphics::isDecalAlive(decal)]]
* [[Graphics::isDecalAlive|Graphics::isDecalAlive(decal)]]
**[[Graphics::startParticleFxLoopedOnEntityBone|Graphics::startParticleFxLoopedOnEntityBone(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxLoopedOnEntityBone|Graphics::startParticleFxLoopedOnEntityBone(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::startParticleFxNonLoopedOnEntity2|Graphics::startParticleFxNonLoopedOnEntity2(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ)]]
* [[Graphics::startParticleFxNonLoopedOnEntity2|Graphics::startParticleFxNonLoopedOnEntity2(effectName, entity, offsetX, offsetY, offsetZ, rotX, rotY, rotZ, scale, axisX, axisY, axisZ)]]
**[[Graphics::disableVehicleDistantlights|Graphics::disableVehicleDistantlights(toggle)]]
* [[Graphics::disableVehicleDistantlights|Graphics::disableVehicleDistantlights(toggle)]]
**[[Graphics::setNoisinessoveride|Graphics::setNoisinessoveride(value)]]
* [[Graphics::setNoisinessoveride|Graphics::setNoisinessoveride(value)]]
**[[Graphics::removeDecalsFromObject|Graphics::removeDecalsFromObject(obj)]]
* [[Graphics::removeDecalsFromObject|Graphics::removeDecalsFromObject(obj)]]
**[[Graphics::drawScaleformMovieFullscreenMasked|Graphics::drawScaleformMovieFullscreenMasked(scaleform1, scaleform2, red, green, blue, alpha)]]
* [[Graphics::drawScaleformMovieFullscreenMasked|Graphics::drawScaleformMovieFullscreenMasked(scaleform1, scaleform2, red, green, blue, alpha)]]
**[[Graphics::callScaleformMovieFunctionFloatParams|Graphics::callScaleformMovieFunctionFloatParams(scaleform, functionName, param1, param2, param3, param4, param5)]]
* [[Graphics::callScaleformMovieFunctionFloatParams|Graphics::callScaleformMovieFunctionFloatParams(scaleform, functionName, param1, param2, param3, param4, param5)]]
**[[Graphics::drawSpotLight|Graphics::drawSpotLight(posX, posY, posZ, dirX, dirY, dirZ, colorR, colorG, colorB, distance, brightness, roundness, radius, falloff)]]
* [[Graphics::drawSpotLight|Graphics::drawSpotLight(posX, posY, posZ, dirX, dirY, dirZ, colorR, colorG, colorB, distance, brightness, roundness, radius, falloff)]]
**[[Graphics::drawBox|Graphics::drawBox(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
* [[Graphics::drawBox|Graphics::drawBox(x1, y1, z1, x2, y2, z2, r, g, b, alpha)]]
**[[Graphics::pushScaleformMovieFunctionParameterFloat|Graphics::pushScaleformMovieFunctionParameterFloat(value)]]
* [[Graphics::pushScaleformMovieFunctionParameterFloat|Graphics::pushScaleformMovieFunctionParameterFloat(value)]]
**[[Graphics::fadeDecalsInRange|Graphics::fadeDecalsInRange(p0, p1, p2, p3, p4)]]
* [[Graphics::fadeDecalsInRange|Graphics::fadeDecalsInRange(p0, p1, p2, p3, p4)]]
**[[Graphics::enableClownBloodVfx|Graphics::enableClownBloodVfx(toggle)]]
* [[Graphics::enableClownBloodVfx|Graphics::enableClownBloodVfx(toggle)]]
**[[Graphics::drawDebugLineWithTwoColours|Graphics::drawDebugLineWithTwoColours(x1, y1, z1, x2, y2, z2, r1, g1, b1, r2, g2, b2, alpha1, alpha2)]]
* [[Graphics::drawDebugLineWithTwoColours|Graphics::drawDebugLineWithTwoColours(x1, y1, z1, x2, y2, z2, r1, g1, b1, r2, g2, b2, alpha1, alpha2)]]
**[[Graphics::setParticleFxLoopedRange|Graphics::setParticleFxLoopedRange(ptfxHandle, range)]]
* [[Graphics::setParticleFxLoopedRange|Graphics::setParticleFxLoopedRange(ptfxHandle, range)]]
**[[Graphics::removeParticleFxInRange|Graphics::removeParticleFxInRange(X, Y, Z, radius)]]
* [[Graphics::removeParticleFxInRange|Graphics::removeParticleFxInRange(X, Y, Z, radius)]]
**[[Graphics::startParticleFxLoopedOnEntityBone2|Graphics::startParticleFxLoopedOnEntityBone2(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxLoopedOnEntityBone2|Graphics::startParticleFxLoopedOnEntityBone2(effectName, entity, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::hasHudScaleformLoaded|Graphics::hasHudScaleformLoaded(hudComponent)]]
* [[Graphics::hasHudScaleformLoaded|Graphics::hasHudScaleformLoaded(hudComponent)]]
**[[Graphics::requestStreamedTextureDict|Graphics::requestStreamedTextureDict(textureDict, p1)]]
* [[Graphics::requestStreamedTextureDict|Graphics::requestStreamedTextureDict(textureDict, p1)]]
**[[Graphics::setFrozenRenderingDisabled|Graphics::setFrozenRenderingDisabled(enabled)]]
* [[Graphics::setFrozenRenderingDisabled|Graphics::setFrozenRenderingDisabled(enabled)]]
**[[Graphics::startParticleFxLoopedAtCoord|Graphics::startParticleFxLoopedAtCoord(effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11)]]
* [[Graphics::startParticleFxLoopedAtCoord|Graphics::startParticleFxLoopedAtCoord(effectName, x, y, z, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis, p11)]]
**[[Graphics::sittingTv|Graphics::sittingTv(scaleform)]]
* [[Graphics::sittingTv|Graphics::sittingTv(scaleform)]]
**[[Graphics::setNoiseoveride|Graphics::setNoiseoveride(toggle)]]
* [[Graphics::setNoiseoveride|Graphics::setNoiseoveride(toggle)]]
**[[Graphics::drawSprite|Graphics::drawSprite(textureDict, textureName, screenX, screenY, scaleX, scaleY, heading, colorR, colorG, colorB, alpha)]]
* [[Graphics::drawSprite|Graphics::drawSprite(textureDict, textureName, screenX, screenY, scaleX, scaleY, heading, colorR, colorG, colorB, alpha)]]
**[[Graphics::setPtfxAssetOldToNew|Graphics::setPtfxAssetOldToNew(oldAsset, newAsset)]]
* [[Graphics::setPtfxAssetOldToNew|Graphics::setPtfxAssetOldToNew(oldAsset, newAsset)]]
**[[Graphics::releaseMovieMeshSet|Graphics::releaseMovieMeshSet(movieMeshSet)]]
* [[Graphics::releaseMovieMeshSet|Graphics::releaseMovieMeshSet(movieMeshSet)]]
**[[Graphics::removeDecal|Graphics::removeDecal(decal)]]
* [[Graphics::removeDecal|Graphics::removeDecal(decal)]]
**[[Graphics::setParticleFxCamInsideVehicle|Graphics::setParticleFxCamInsideVehicle(p0)]]
* [[Graphics::setParticleFxCamInsideVehicle|Graphics::setParticleFxCamInsideVehicle(p0)]]
**[[Graphics::callScaleformMovieFunctionMixedParams|Graphics::callScaleformMovieFunctionMixedParams(scaleform, functionName, floatParam1, floatParam2, floatParam3, floatParam4, floatParam5, stringParam1, stringParam2, stringParam3, stringParam4, stringParam5)]]
* [[Graphics::callScaleformMovieFunctionMixedParams|Graphics::callScaleformMovieFunctionMixedParams(scaleform, functionName, floatParam1, floatParam2, floatParam3, floatParam4, floatParam5, stringParam1, stringParam2, stringParam3, stringParam4, stringParam5)]]
**[[Graphics::transitionFromBlurred|Graphics::transitionFromBlurred(transitionTime)]]
* [[Graphics::transitionFromBlurred|Graphics::transitionFromBlurred(transitionTime)]]
**[[Graphics::getScreenAspectRatio|Graphics::getScreenAspectRatio(b)]]
* [[Graphics::getScreenAspectRatio|Graphics::getScreenAspectRatio(b)]]
**[[Graphics::startParticleFxLoopedOnPedBone|Graphics::startParticleFxLoopedOnPedBone(effectName, ped, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxLoopedOnPedBone|Graphics::startParticleFxLoopedOnPedBone(effectName, ped, xOffset, yOffset, zOffset, xRot, yRot, zRot, boneIndex, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::drawLightWithRange|Graphics::drawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity)]]
* [[Graphics::drawLightWithRange|Graphics::drawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity)]]
**[[Graphics::drawLightWithRangeAndShadow|Graphics::drawLightWithRangeAndShadow(x, y, z, r, g, b, range, intensity, shadow)]]
* [[Graphics::drawLightWithRangeAndShadow|Graphics::drawLightWithRangeAndShadow(x, y, z, r, g, b, range, intensity, shadow)]]
**[[Graphics::startParticleFxNonLoopedAtCoord2|Graphics::startParticleFxNonLoopedAtCoord2(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
* [[Graphics::startParticleFxNonLoopedAtCoord2|Graphics::startParticleFxNonLoopedAtCoord2(effectName, xPos, yPos, zPos, xRot, yRot, zRot, scale, xAxis, yAxis, zAxis)]]
**[[Graphics::pushScaleformMovieFunction|Graphics::pushScaleformMovieFunction(scaleform, functionName)]]
* [[Graphics::pushScaleformMovieFunction|Graphics::pushScaleformMovieFunction(scaleform, functionName)]]
**[[Graphics::setParticleFxLoopedOffsets|Graphics::setParticleFxLoopedOffsets(ptfxHandle, x, y, z, rotX, rotY, rotZ)]]
* [[Graphics::setParticleFxLoopedOffsets|Graphics::setParticleFxLoopedOffsets(ptfxHandle, x, y, z, rotX, rotY, rotZ)]]
**[[Graphics::callScaleformMovieMethod|Graphics::callScaleformMovieMethod(scaleform, method)]]
* [[Graphics::callScaleformMovieMethod|Graphics::callScaleformMovieMethod(scaleform, method)]]
**[[Graphics::drawTvChannel|Graphics::drawTvChannel(xPos, yPos, xScale, yScale, rotation, r, g, b, alpha)]]
* [[Graphics::drawTvChannel|Graphics::drawTvChannel(xPos, yPos, xScale, yScale, rotation, r, g, b, alpha)]]


==Interior==
==Interior==

Revision as of 21:30, 11 May 2017

Attention: work is still in progress. There still could be major changes in design of API.

Event functions

Vector3 functions

Entity (player, vehicle, object) functions

Player functions

Vehicle functions

Object functions

  • [[Object::disableGlow|mp.game.object.disableGlow

Pickup functions

Template:Pickup function c

Blip functions

Camera functions

Entity pool functions

WebBrowser functions

Key binding functions

UI functions

Template:UI function c

Global functions

App

Audio

Brain

Cam

Controls

Cutscene

Datafile

Decisionevent

Decorator

Dlc1

Dlc2

Entity

Fire

Gameplay

Graphics

Interior

Itemset

Mobile

Object

Pathfind

Ped

Player

Rope

Script

Stats

Streaming

System

Time

Ui

Unk

Recorder

Vehicle

Water

Weapon

Worldprobe

Zone

Game Globals