Client-side CSharp functions: Difference between revisions

From RAGE Multiplayer Wiki
Line 1,003: Line 1,003:
===[[RAGE.Game.Locale | Locale]]===
===[[RAGE.Game.Locale | Locale]]===
*[[RAGE.Game.Locale.GetUserLanguageId|GetUserLanguageId]]
*[[RAGE.Game.Locale.GetUserLanguageId|GetUserLanguageId]]
===[[RAGE.Game.Misc | Misc]]===
===Misc===
*[[RAGE.Game.Misc.Absi|Absi]]
*[[Misc::absf|Absf]]
*[[RAGE.Game.Misc.AddHospitalRestart|AddHospitalRestart]]
*[[Misc::absi|Absi]]
*[[RAGE.Game.Misc.AddStuntJump|AddStuntJump]]
*[[Misc::acos|Acos]]
*[[RAGE.Game.Misc.AreStringsEqual|AreStringsEqual]]
*[[Misc::addHospitalRestart|AddHospitalRestart]]
*[[RAGE.Game.Misc.Atan2|Atan2]]
*[[Misc::addPoliceRestart|AddPoliceRestart]]
*[[RAGE.Game.Misc.BeginReplayStats|BeginReplayStats]]
*[[Misc::addStuntJump|AddStuntJump]]
*[[RAGE.Game.Misc.ClearAngledAreaOfVehicles|ClearAngledAreaOfVehicles]]
*[[Misc::addStuntJumpAngled|AddStuntJumpAngled]]
*[[RAGE.Game.Misc.ClearAreaOfObjects|ClearAreaOfObjects]]
*[[Misc::areStringsEqual|AreStringsEqual]]
*[[RAGE.Game.Misc.ClearAreaOfProjectiles|ClearAreaOfProjectiles]]
*[[Misc::asin|Asin]]
*[[RAGE.Game.Misc.ClearBit|ClearBit]]
*[[Misc::atan2|Atan2]]
*[[RAGE.Game.Misc.ClearReplayStats|ClearReplayStats]]
*[[Misc::atan|Atan]]
*[[RAGE.Game.Misc.ClearWeatherTypePersist|ClearWeatherTypePersist]]
*[[Misc::beginReplayStats|BeginReplayStats]]
*[[RAGE.Game.Misc.CreateIncident|CreateIncident]]
*[[Misc::cancelStuntJump|CancelStuntJump]]
*[[RAGE.Game.Misc.DeleteIncident|DeleteIncident]]
*[[Misc::clearAngledAreaOfVehicles|ClearAngledAreaOfVehicles]]
*[[RAGE.Game.Misc.DisableHospitalRestart|DisableHospitalRestart]]
*[[Misc::clearArea|ClearArea]]
*[[RAGE.Game.Misc.DisableStuntJumpSet|DisableStuntJumpSet]]
*[[Misc::clearAreaOfEverything|ClearAreaOfEverything]]
*[[RAGE.Game.Misc.DisplayOnscreenKeyboard2|DisplayOnscreenKeyboard2]]
*[[Misc::clearAreaOfCops|ClearAreaOfCops]]
*[[RAGE.Game.Misc.EnableDispatchService|EnableDispatchService]]
*[[Misc::clearAreaOfObjects|ClearAreaOfObjects]]
*[[RAGE.Game.Misc.EnableTennisMode|EnableTennisMode]]
*[[Misc::clearAreaOfPeds|ClearAreaOfPeds]]
*[[RAGE.Game.Misc.FindSpawnPointInDirection|FindSpawnPointInDirection]]
*[[Misc::clearAreaOfProjectiles|ClearAreaOfProjectiles]]
*[[RAGE.Game.Misc.CreateLightningThunder|CreateLightningThunder]]
*[[Misc::clearAreaOfVehicles|ClearAreaOfVehicles]]
*[[RAGE.Game.Misc.GetAngleBetween2dVectors|GetAngleBetween2dVectors]]
*[[Misc::clearBit|ClearBit]]
*[[RAGE.Game.Misc.GetCloudHatOpacity|GetCloudHatOpacity]]
*[[Misc::clearCloudHat|ClearCloudHat]]
*[[RAGE.Game.Misc.GetWeatherTypeTransition|GetWeatherTypeTransition]]
*[[Misc::clearOverrideWeather|ClearOverrideWeather]]
*[[RAGE.Game.Misc.GetFakeWantedLevel|GetFakeWantedLevel]]
*[[Misc::clearReplayStats|ClearReplayStats]]
*[[RAGE.Game.Misc.GetFrameTime|GetFrameTime]]
*[[Misc::clearWeatherTypePersist|ClearWeatherTypePersist]]
*[[RAGE.Game.Misc.GetGroundCoordsWhileInAir|GetGroundCoordsWhileInAir]]
*[[Misc::compareStrings|CompareStrings]]
*[[RAGE.Game.Misc.GetHashKey|GetHashKey]]
*[[Misc::createIncident|CreateIncident]]
*[[RAGE.Game.Misc.GetIndexOfCurrentLevel|GetIndexOfCurrentLevel]]
*[[Misc::createIncidentWithEntity|CreateIncidentWithEntity]]
*[[RAGE.Game.Misc.GetModelDimensions|GetModelDimensions]]
*[[Misc::createLightningThunder|CreateLightningThunder]]
*[[RAGE.Game.Misc.GetFreeStackSlotsCount|GetFreeStackSlotsCount]]
*[[Misc::deleteIncident|DeleteIncident]]
*[[RAGE.Game.Misc.GetOnscreenKeyboardResult|GetOnscreenKeyboardResult]]
*[[Misc::deleteStuntJump|DeleteStuntJump]]
*[[RAGE.Game.Misc.GetProfileSetting|GetProfileSetting]]
*[[Misc::disableAutomaticRespawn|DisableAutomaticRespawn]]
*[[RAGE.Game.Misc.GetRandomEventFlag|GetRandomEventFlag]]
*[[Misc::disableHospitalRestart|DisableHospitalRestart]]
*[[RAGE.Game.Misc.GetRandomIntInRange|GetRandomIntInRange]]
*[[Misc::disablePoliceRestart|DisablePoliceRestart]]
*[[RAGE.Game.Misc.GetWindDirection|GetWindDirection]]
*[[Misc::disableStuntJumpSet|DisableStuntJumpSet]]
*[[RAGE.Game.Misc.HasBulletImpactedInArea|HasBulletImpactedInArea]]
*[[Misc::displayOnscreenKeyboard|DisplayOnscreenKeyboard]]
*[[RAGE.Game.Misc.HasButtonCombinationJustBeenEntered|HasButtonCombinationJustBeenEntered]]
*[[Misc::displayOnscreenKeyboard2|DisplayOnscreenKeyboard2]]
*[[RAGE.Game.Misc.IsPcVersion|IsPcVersion]]
*[[Misc::doAutoSave|DoAutoSave]]
*[[RAGE.Game.Misc.IsAreaOccupied|IsAreaOccupied]]
*[[Misc::enableDispatchService|EnableDispatchService]]
*[[RAGE.Game.Misc.IsBitSet|IsBitSet]]
*[[Misc::enableStuntJumpSet|EnableStuntJumpSet]]
*[[RAGE.Game.Misc.IsBulletInArea|IsBulletInArea]]
*[[Misc::enableTennisMode|EnableTennisMode]]
*[[RAGE.Game.Misc.IsIncidentValid|IsIncidentValid]]
*[[Misc::endReplayStats|EndReplayStats]]
*[[RAGE.Game.Misc.IsMinigameInProgress|IsMinigameInProgress]]
*[[Misc::findSpawnPointInDirection|FindSpawnPointInDirection]]
*[[RAGE.Game.Misc.IsPointObscuredByAMissionEntity|IsPointObscuredByAMissionEntity]]
*[[Misc::forceSocialClubUpdate|ForceSocialClubUpdate]]
*[[RAGE.Game.Misc.IsPrevWeatherType|IsPrevWeatherType]]
*[[Misc::getAllocatedStackSize|GetAllocatedStackSize]]
*[[RAGE.Game.Misc.IsProjectileTypeInAngledArea|IsProjectileTypeInAngledArea]]
*[[Misc::getAngleBetween2dVectors|GetAngleBetween2dVectors]]
*[[RAGE.Game.Misc.IsSniperBulletInArea|IsSniperBulletInArea]]
*[[Misc::getBitsInRange|GetBitsInRange]]
*[[RAGE.Game.Misc.IsStringNullOrEmpty|IsStringNullOrEmpty]]
*[[Misc::getCloudHatOpacity|GetCloudHatOpacity]]
*[[RAGE.Game.Misc.IsStuntJumpMessageShowing|IsStuntJumpMessageShowing]]
*[[Misc::getDistanceBetweenCoords|GetDistanceBetweenCoords]]
*[[RAGE.Game.Misc.IsThisAMinigameScript|IsThisAMinigameScript]]
*[[Misc::getFakeWantedLevel|GetFakeWantedLevel]]
*[[RAGE.Game.Misc.NetworkSetScriptIsSafeForNetworkGame|NetworkSetScriptIsSafeForNetworkGame]]
*[[Misc::getFrameCount|GetFrameCount]]
*[[RAGE.Game.Misc.DisableAutomaticRespawn|DisableAutomaticRespawn]]
*[[Misc::getFrameTime|GetFrameTime]]
*[[RAGE.Game.Misc.ForceSocialClubUpdate|ForceSocialClubUpdate]]
*[[Misc::getFreeStackSlotsCount|GetFreeStackSlotsCount]]
*[[RAGE.Game.Misc.RegisterIntToSave|RegisterIntToSave]]
*[[Misc::getGameTimer|GetGameTimer]]
*[[RAGE.Game.Misc.RegisterBoolToSave|RegisterBoolToSave]]
*[[Misc::getGlobalCharBuffer|GetGlobalCharBuffer]]
*[[RAGE.Game.Misc.RegisterTextLabelToSave|RegisterTextLabelToSave]]
*[[Misc::getGroundCoordsWhileInAir|GetGroundCoordsWhileInAir]]
*[[RAGE.Game.Misc.ResetDispatchIdealSpawnDistance|ResetDispatchIdealSpawnDistance]]
*[[Misc::getGroundZFor3dCoord|GetGroundZFor3dCoord]]
*[[RAGE.Game.Misc.SetBit|SetBit]]
*[[Misc::getHashKey|GetHashKey]]
*[[RAGE.Game.Misc.SetCloudHatOpacity|SetCloudHatOpacity]]
*[[Misc::getHeadingFromVector2d|GetHeadingFromVector2d]]
*[[RAGE.Game.Misc.SetWeatherTypeTransition|SetWeatherTypeTransition]]
*[[Misc::getIndexOfCurrentLevel|GetIndexOfCurrentLevel]]
*[[RAGE.Game.Misc.SetDispatchTimeBetweenSpawnAttempts|SetDispatchTimeBetweenSpawnAttempts]]
*[[Misc::getMissionFlag|GetMissionFlag]]
*[[RAGE.Game.Misc.SetExplosiveAmmoThisFrame|SetExplosiveAmmoThisFrame]]
*[[Misc::getModelDimensions|GetModelDimensions]]
*[[RAGE.Game.Misc.SetFadeInAfterDeathArrest|SetFadeInAfterDeathArrest]]
*[[Misc::getNextWeatherTypeHashName|GetNextWeatherTypeHashName]]
*[[RAGE.Game.Misc.SetFadeOutAfterArrest|SetFadeOutAfterArrest]]
*[[Misc::getNumberOfDispatchedUnitsForPlayer|GetNumberOfDispatchedUnitsForPlayer]]
*[[RAGE.Game.Misc.SetFakeWantedLevel|SetFakeWantedLevel]]
*[[Misc::getOnscreenKeyboardResult|GetOnscreenKeyboardResult]]
*[[RAGE.Game.Misc.SetGamePaused|SetGamePaused]]
*[[Misc::getPrevWeatherTypeHashName|GetPrevWeatherTypeHashName]]
*[[RAGE.Game.Misc.SetUnkMapFlag|SetUnkMapFlag]]
*[[Misc::getProfileSetting|GetProfileSetting]]
*[[RAGE.Game.Misc.SetMinigameInProgress|SetMinigameInProgress]]
*[[Misc::getRainLevel|GetRainLevel]]
*[[RAGE.Game.Misc.SetOverrideWeather|SetOverrideWeather]]
*[[Misc::getRandomEventFlag|GetRandomEventFlag]]
*[[RAGE.Game.Misc.SetRainFxIntensity|SetRainFxIntensity]]
*[[Misc::getRandomFloatInRange|GetRandomFloatInRange]]
*[[RAGE.Game.Misc.SetRandomSeed|SetRandomSeed]]
*[[Misc::getRandomIntInRange|GetRandomIntInRange]]
*[[RAGE.Game.Misc.SetCustomRespawnPosition|SetCustomRespawnPosition]]
*[[Misc::getSnowLevel|GetSnowLevel]]
*[[RAGE.Game.Misc.SetSaveMenuActive|SetSaveMenuActive]]
*[[Misc::getWeatherTypeTransition|GetWeatherTypeTransition]]
*[[RAGE.Game.Misc.SetThisScriptCanBePaused|SetThisScriptCanBePaused]]
*[[Misc::getWindDirection|GetWindDirection]]
*[[RAGE.Game.Misc.SetTimeScale|SetTimeScale]]
*[[Misc::getWindSpeed|GetWindSpeed]]
*[[RAGE.Game.Misc.SetWeatherTypeNowPersist|SetWeatherTypeNowPersist]]
*[[Misc::hasBulletImpactedInArea|HasBulletImpactedInArea]]
*[[RAGE.Game.Misc.SetWeatherTypePersist|SetWeatherTypePersist]]
*[[Misc::hasBulletImpactedInBox|HasBulletImpactedInBox]]
*[[RAGE.Game.Misc.SetWindDirection|SetWindDirection]]
*[[Misc::hasButtonCombinationJustBeenEntered|HasButtonCombinationJustBeenEntered]]
*[[RAGE.Game.Misc.ShootSingleBulletBetweenCoords|ShootSingleBulletBetweenCoords]]
*[[Misc::hasCheatStringJustBeenEntered|HasCheatStringJustBeenEntered]]
*[[RAGE.Game.Misc.ShootSingleAirstrikeBulletBetweenCoords|ShootSingleAirstrikeBulletBetweenCoords]]
*[[Misc::isAussieVersion|IsAussieVersion]]
*[[RAGE.Game.Misc.StartSaveData|StartSaveData]]
*[[Misc::isFrontendFading|IsFrontendFading]]
*[[RAGE.Game.Misc.StopSaveData|StopSaveData]]
*[[Misc::isPcVersion|IsPcVersion]]
*[[RAGE.Game.Misc.StopSaveArray|StopSaveArray]]
*[[Misc::isPs3Version|IsPs3Version]]
*[[RAGE.Game.Misc.Tan|Tan]]
*[[Misc::ignoreNextRestart|IgnoreNextRestart]]
*[[RAGE.Game.Misc.ClearCloudHat|ClearCloudHat]]
*[[Misc::isAreaOccupied|IsAreaOccupied]]
*[[RAGE.Game.Misc.UsingMissionCreator|UsingMissionCreator]]
*[[Misc::isAutoSaveInProgress|IsAutoSaveInProgress]]
*[[RAGE.Game.Misc.IsOrbisVersion|IsOrbisVersion]]
*[[Misc::isBitSet|IsBitSet]]
*[[RAGE.Game.Misc.IsXbox360Version|IsXbox360Version]]
*[[Misc::isBulletInAngledArea|IsBulletInAngledArea]]
*[[RAGE.Game.Misc.IsAussieVersion|IsAussieVersion]]
*[[Misc::isBulletInArea|IsBulletInArea]]
*[[Misc::isBulletInBox|IsBulletInBox]]
*[[Misc::isDurangoVersion|IsDurangoVersion]]
*[[Misc::isIncidentValid|IsIncidentValid]]
*[[Misc::isMemoryCardInUse|IsMemoryCardInUse]]
*[[Misc::isMinigameInProgress|IsMinigameInProgress]]
*[[Misc::isNextWeatherType|IsNextWeatherType]]
*[[Misc::isOrbisVersion|IsOrbisVersion]]
*[[Misc::isPointObscuredByAMissionEntity|IsPointObscuredByAMissionEntity]]
*[[Misc::isPositionOccupied|IsPositionOccupied]]
*[[Misc::isPrevWeatherType|IsPrevWeatherType]]
*[[Misc::isProjectileInArea|IsProjectileInArea]]
*[[Misc::isProjectileTypeInAngledArea|IsProjectileTypeInAngledArea]]
*[[Misc::isProjectileTypeInArea|IsProjectileTypeInArea]]
*[[Misc::isSniperBulletInArea|IsSniperBulletInArea]]
*[[Misc::isSniperInverted|IsSniperInverted]]
*[[Misc::isStringNull|IsStringNull]]
*[[Misc::isStringNullOrEmpty|IsStringNullOrEmpty]]
*[[Misc::isStuntJumpInProgress|IsStuntJumpInProgress]]
*[[Misc::isStuntJumpMessageShowing|IsStuntJumpMessageShowing]]
*[[Misc::isTennisMode|IsTennisMode]]
*[[Misc::isThisAMinigameScript|IsThisAMinigameScript]]
*[[Misc::isXbox360Version|IsXbox360Version]]
*[[Misc::networkSetScriptIsSafeForNetworkGame|NetworkSetScriptIsSafeForNetworkGame]]
*[[Misc::overrideSaveHouse|OverrideSaveHouse]]
*[[Misc::populateNow|PopulateNow]]
*[[Misc::registerFloatToSave|RegisterFloatToSave]]
*[[Misc::registerIntToSave|RegisterIntToSave]]
*[[Misc::registerEnumToSave|RegisterEnumToSave]]
*[[Misc::registerBoolToSave|RegisterBoolToSave]]
*[[Misc::registerSaveHouse|RegisterSaveHouse]]
*[[Misc::registerTextLabelToSave|RegisterTextLabelToSave]]
*[[Misc::removeDispatchSpawnBlockingArea|RemoveDispatchSpawnBlockingArea]]
*[[Misc::resetDispatchIdealSpawnDistance|ResetDispatchIdealSpawnDistance]]
*[[Misc::resetDispatchSpawnBlockingAreas|ResetDispatchSpawnBlockingAreas]]
*[[Misc::resetLocalplayerState|ResetLocalplayerState]]
*[[Misc::setBit|SetBit]]
*[[Misc::setBitsInRange|SetBitsInRange]]
*[[Misc::setCloudHatOpacity|SetCloudHatOpacity]]
*[[Misc::setCloudHatTransition|SetCloudHatTransition]]
*[[Misc::setCreditsActive|SetCreditsActive]]
*[[Misc::setCustomRespawnPosition|SetCustomRespawnPosition]]
*[[Misc::setDispatchIdealSpawnDistance|SetDispatchIdealSpawnDistance]]
*[[Misc::setDispatchTimeBetweenSpawnAttempts|SetDispatchTimeBetweenSpawnAttempts]]
*[[Misc::setDispatchTimeBetweenSpawnAttemptsMultiplier|SetDispatchTimeBetweenSpawnAttemptsMultiplier]]
*[[Misc::setExplosiveAmmoThisFrame|SetExplosiveAmmoThisFrame]]
*[[Misc::setExplosiveMeleeThisFrame|SetExplosiveMeleeThisFrame]]
*[[Misc::setFadeInAfterDeathArrest|SetFadeInAfterDeathArrest]]
*[[Misc::setFadeInAfterLoad|SetFadeInAfterLoad]]
*[[Misc::setFadeOutAfterArrest|SetFadeOutAfterArrest]]
*[[Misc::setFadeOutAfterDeath|SetFadeOutAfterDeath]]
*[[Misc::setFakeWantedLevel|SetFakeWantedLevel]]
*[[Misc::setFireAmmoThisFrame|SetFireAmmoThisFrame]]
*[[Misc::setGamePaused|SetGamePaused]]
*[[Misc::setGravityLevel|SetGravityLevel]]
*[[Misc::setMinigameInProgress|SetMinigameInProgress]]
*[[Misc::setMissionFlag|SetMissionFlag]]
*[[Misc::setNextRespawnToCustom|SetNextRespawnToCustom]]
*[[Misc::setOverrideWeather|SetOverrideWeather]]
*[[Misc::setRainFxIntensity|SetRainFxIntensity]]
*[[Misc::setRandomEventFlag|SetRandomEventFlag]]
*[[Misc::setRandomSeed|SetRandomSeed]]
*[[Misc::setRandomWeatherType|SetRandomWeatherType]]
*[[Misc::setSaveHouse|SetSaveHouse]]
*[[Misc::setSaveMenuActive|SetSaveMenuActive]]
*[[Misc::setSuperJumpThisFrame|SetSuperJumpThisFrame]]
*[[Misc::setThisScriptCanBePaused|SetThisScriptCanBePaused]]
*[[Misc::setThisScriptCanRemoveBlipsCreatedByAnyScript|SetThisScriptCanRemoveBlipsCreatedByAnyScript]]
*[[Misc::setTimeScale|SetTimeScale]]
*[[Misc::setUnkMapFlag|SetUnkMapFlag]]
*[[Misc::setWeatherTypeNow|SetWeatherTypeNow]]
*[[Misc::setWeatherTypeNowPersist|SetWeatherTypeNowPersist]]
*[[Misc::setWeatherTypeOverTime|SetWeatherTypeOverTime]]
*[[Misc::setWeatherTypePersist|SetWeatherTypePersist]]
*[[Misc::setWeatherTypeTransition|SetWeatherTypeTransition]]
*[[Misc::setWind|SetWind]]
*[[Misc::setWindDirection|SetWindDirection]]
*[[Misc::setWindSpeed|SetWindSpeed]]
*[[Misc::shootSingleAirstrikeBulletBetweenCoords|ShootSingleAirstrikeBulletBetweenCoords]]
*[[Misc::shootSingleBulletBetweenCoords|ShootSingleBulletBetweenCoords]]
*[[Misc::shootSingleVehicleBulletBetweenCoords|ShootSingleVehicleBulletBetweenCoords]]
*[[Misc::showPedInPauseMenu|ShowPedInPauseMenu]]
*[[Misc::startSaveArray|StartSaveArray]]
*[[Misc::startSaveData|StartSaveData]]
*[[Misc::startSaveStruct|StartSaveStruct]]
*[[Misc::stopSaveArray|StopSaveArray]]
*[[Misc::stopSaveData|StopSaveData]]
*[[Misc::stopSaveStruct|StopSaveStruct]]
*[[Misc::stringToInt|StringToInt]]
*[[Misc::tan|Tan]]
*[[Misc::terminateAllScriptsWithThisName|TerminateAllScriptsWithThisName]]
*[[Misc::updateOnscreenKeyboard|UpdateOnscreenKeyboard]]
*[[Misc::useFreemodeMapBehavior|UseFreemodeMapBehavior]]
*[[Misc::usingMissionCreator|UsingMissionCreator]]
 
===Mobile===
===Mobile===
*[[RAGE.Game.Mobile.CanPhoneBeSeenOnScreen | CanPhoneBeSeenOnScreen]]
*[[RAGE.Game.Mobile.CanPhoneBeSeenOnScreen | CanPhoneBeSeenOnScreen]]

Revision as of 08:36, 27 December 2022

Events

Chat

Discord

Voice

Input

Nametags

Game

Ai

App

Audio

Cam

Clock

Cutscene

Datafile

Decorator

Dlc

Entity

Event

Files

Fire

Graphics

Interior

Itemset

Locale

Misc

Mobile

Netcash

Netshop

Network

Object

Pad

Pathfind

Ped

Physics

Player

Recording

Rendering

Script

Shapetest

Socialclub

Stats

Streaming

Task

Ui

Utils

Water

Weapon

Zone

NUI

Sprite

UIMenuCheckboxItem

UIMenuDynamicListItem

UIMenuItem

UIMenuListItem

MenuPool

UIMenu

Ui

HtmlWindow

DefaultWindow

Ui.Cursor

Elements

Checkpoint

GameEntity

MapObject

Ped

Vehicle

Type

Entity

Player

Blip