Server-side CSharp function: Difference between revisions
(→Util) |
|||
| Line 358: | Line 358: | ||
==Vehicle== | ==Vehicle== | ||
*[[CreateVehicle]] | *[[CreateVehicle]] | ||
*[[ | *[[ExplodeVehicle]] | ||
*[[GetVehicleBodyHealth]] | |||
*[[GetVehicleBulletproofTyres]] | *[[GetVehicleBulletproofTyres]] | ||
*[[GetVehicleClass]] | *[[GetVehicleClass]] | ||
| Line 367: | Line 366: | ||
*[[GetVehicleCustomPrimaryColor]] | *[[GetVehicleCustomPrimaryColor]] | ||
*[[GetVehicleCustomSecondaryColor]] | *[[GetVehicleCustomSecondaryColor]] | ||
*[[GetVehicleCustomTires]] | |||
*[[GetVehicleDashboardColor]] | *[[GetVehicleDashboardColor]] | ||
*[[GetVehicleDisplayName]] | *[[GetVehicleDisplayName]] | ||
*[[GetVehicleDriver]] | |||
*[[GetVehicleEngineHealth]] | |||
*[[GetVehicleEnginePowerMultiplier]] | *[[GetVehicleEnginePowerMultiplier]] | ||
*[[GetVehicleEngineStatus]] | *[[GetVehicleEngineStatus]] | ||
| Line 375: | Line 377: | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
*[[GetVehicleLivery]] | *[[GetVehicleLivery]] | ||
*[[GetVehicleLocked]] | |||
*[[GetVehicleMaxAcceleration]] | *[[GetVehicleMaxAcceleration]] | ||
*[[GetVehicleMaxBraking]] | *[[GetVehicleMaxBraking]] | ||
*[[GetVehicleMaxOccupants]] | *[[GetVehicleMaxOccupants]] | ||
*[[GetVehicleMaxPassengers]] | |||
*[[GetVehicleMaxSpeed]] | *[[GetVehicleMaxSpeed]] | ||
*[[GetVehicleMaxTraction]] | *[[GetVehicleMaxTraction]] | ||
*[[GetVehicleMod]] | *[[GetVehicleMod]] | ||
*[[GetVehicleNeonColor]] | *[[GetVehicleNeonColor]] | ||
*[[GetVehicleNeonState]] | *[[GetVehicleNeonState]] | ||
*[[GetVehicleNumberPlate]] | *[[GetVehicleNumberPlate]] | ||
*[[GetVehicleNumberPlateStyle]] | *[[GetVehicleNumberPlateStyle]] | ||
*[[GetVehicleOccupants]] | |||
*[[GetVehiclePearlescentColor]] | *[[GetVehiclePearlescentColor]] | ||
*[[GetVehiclePrimaryColor]] | *[[GetVehiclePrimaryColor]] | ||
*[[GetVehiclePrimaryPaint]] | |||
*[[GetVehicleSecondaryColor]] | *[[GetVehicleSecondaryColor]] | ||
*[[GetVehicleSecondaryPaint]] | |||
*[[GetVehicleSirenState]] | *[[GetVehicleSirenState]] | ||
*[[GetVehicleSpecialLightStatus]] | *[[GetVehicleSpecialLightStatus]] | ||
| Line 399: | Line 404: | ||
*[[GetVehicleWheelType]] | *[[GetVehicleWheelType]] | ||
*[[GetVehicleWindowTint]] | *[[GetVehicleWindowTint]] | ||
*[[RemoveVehicleMod]] | *[[RemoveVehicleMod]] | ||
*[[RepairVehicle]] | *[[RepairVehicle]] | ||
*[[SetVehicleBodyHealth]] | |||
*[[SetVehicleBulletproofTyres]] | *[[SetVehicleBulletproofTyres]] | ||
*[[SetVehicleCustomPrimaryColor]] | *[[SetVehicleCustomPrimaryColor]] | ||
*[[SetVehicleCustomSecondaryColor]] | *[[SetVehicleCustomSecondaryColor]] | ||
*[[SetVehicleCustomTires]] | |||
*[[SetVehicleDashboardColor]] | *[[SetVehicleDashboardColor]] | ||
*[[SetVehicleEngineHealth]] | |||
*[[SetVehicleEnginePowerMultiplier]] | *[[SetVehicleEnginePowerMultiplier]] | ||
*[[SetVehicleEngineStatus]] | *[[SetVehicleEngineStatus]] | ||
| Line 417: | Line 421: | ||
*[[SetVehicleLocked]] | *[[SetVehicleLocked]] | ||
*[[SetVehicleMod]] | *[[SetVehicleMod]] | ||
*[[SetVehicleNeonColor]] | *[[SetVehicleNeonColor]] | ||
*[[SetVehicleNeonState]] | *[[SetVehicleNeonState]] | ||
| Line 425: | Line 427: | ||
*[[SetVehiclePearlescentColor]] | *[[SetVehiclePearlescentColor]] | ||
*[[SetVehiclePrimaryColor]] | *[[SetVehiclePrimaryColor]] | ||
*[[SetVehiclePrimaryPaint]] | |||
*[[SetVehicleSecondaryColor]] | *[[SetVehicleSecondaryColor]] | ||
*[[SetVehicleSecondaryPaint]] | |||
*[[SetVehicleSirenState]] | |||
*[[SetVehicleSpecialLightStatus]] | *[[SetVehicleSpecialLightStatus]] | ||
*[[SetVehicleTrimColor]] | *[[SetVehicleTrimColor]] | ||
| Line 432: | Line 437: | ||
*[[SetVehicleWheelType]] | *[[SetVehicleWheelType]] | ||
*[[SetVehicleWindowTint]] | *[[SetVehicleWindowTint]] | ||
==World== | ==World== | ||
Revision as of 17:27, 27 November 2019
ACL
- DoesPlayerHaveAccessToCommand
- GetPlayerAclGroup
- IsAclEnabled
- IsPlayerLoggedIn
- LoginPlayer
- LogoutPlayer
Blip
- CreateBlip
- GetBlipColor
- GetBlipName
- GetBlipPosition
- GetBlipRouteColor
- GetBlipRouteVisible
- GetBlipScale
- GetBlipShortRange
- GetBlipSprite
- GetBlipTransparency
- SetBlipColor
- SetBlipName
- SetBlipPosition
- SetBlipRouteColor
- SetBlipRouteVisible
- SetBlipScale
- SetBlipShortRange
- SetBlipSprite
- SetBlipTransparency
Chat
Checkpoint
- CreateCheckpoint
- GetCheckpointColor
- GetCheckpointDirection
- GetCheckpointScale
- SetCheckpointColor
- SetCheckpointDirection
- SetCheckpointScale
ClientEvent
- Register
- TriggerClientEvent
- TriggerClientEventForAll
- TriggerClientEventInDimension
- TriggerClientEventInRange
- TriggerClientEventToPlayers
- Unregister
ClientEventThreadSafe
ColShape
- Create2DColShape
- Create3DColShape
- CreateCircleColShape
- CreateCylinderColShape
- CreateSphereColShape
- DeleteColShape
- IsPointWithinColshape
Command
Data
- GetAllEntityData
- GetAllEntitySharedData
- GetAllWorldData
- GetAllWorldSharedData
- GetEntityData
- GetEntitySharedData
- GetWorldData
- GetWorldSharedData
- HasEntityData
- HasEntitySharedData
- HasWorldData
- HasWorldSharedData
- ResetEntityData
- ResetEntitySharedData
- ResetWorldData
- ResetWorldSharedData
- SetEntityData
- SetEntitySharedData
- SetWorldData
- SetWorldSharedData
DummyEntity
Entity
- DeleteEntity
- DoesEntityExist
- DoesEntityExistForPlayer
- GetEntityDimension
- GetEntityFromHandle
- GetEntityModel
- GetEntityPosition
- GetEntityRotation
- GetEntityTransparency
- GetEntityType
- GetEntityVelocity
- SetEntityDimension
- SetEntityModel
- SetEntityPosition
- SetEntityRotation
- SetEntityTransparency
- SetEntityVelocity
Explosion
LocalEvent
Log
Marker
- CreateMarker
- GetMarkerBobUpAndDown
- GetMarkerColor
- GetMarkerDirection
- GetMarkerScale
- GetMarkerType
- SetMarkerBobUpAndDown
- SetMarkerColor
- SetMarkerDirection
- SetMarkerScale
- SetMarkerType
Native
- FetchNativeFromPlayer
- SendNativeToAllPlayers
- SendNativeToPlayer
- SendNativeToPlayersInDimension
- SendNativeToPlayersInRange
- SendNativeToPlayersInRangeInDimension
Notification
- SendNotificationToAll
- SendNotificationToPlayer
- SendPictureNotificationToAll
- SendPictureNotificationToPlayer
Object
Particle
- CreateLoopedParticleEffectOnEntity
- CreateLoopedParticleEffectOnPosition
- CreateParticleEffectOnEntity
- CreateParticleEffectOnPosition
Ped
Pickup
Player
- BanPlayer
- ClearPlayerAccessory
- ClearPlayerDecorations
- ClearPlayerTasks
- DeletePlayerWorldProp
- DisablePlayerVoiceTo
- EnablePlayerVoiceTo
- Eval
- FreezePlayerTime
- GetPlayerAccessory
- GetPlayerAccessoryDrawable
- GetPlayerAccessoryTexture
- GetPlayerAddress
- GetPlayerAimingPoint
- GetPlayerArmor
- GetPlayerClothes
- GetPlayerClothesDrawable
- GetPlayerClothesTexture
- GetPlayerCurrentWeapon
- GetPlayerCurrentWeaponAmmo
- GetPlayerEyeColor
- GetPlayerFaceFeature
- GetPlayerFromHandle
- GetPlayerFromName
- GetPlayerHairColor
- GetPlayerHeadBlend
- GetPlayerHeadBlendPaletteColor
- GetPlayerHeadOverlay
- GetPlayerHealth
- GetPlayerName
- GetPlayerNametag
- GetPlayerPing
- GetPlayerSerial
- GetPlayersInRadiusOfPlayer
- GetPlayersInRadiusOfPosition
- GetPlayerSocialClubId
- GetPlayerSocialClubName
- GetPlayerVehicle
- GetPlayerVehicleSeat
- GetPlayerVelocity
- GetPlayerWeaponAmmo
- GetPlayerWeapons
- GivePlayerWeapon
- IsCefEnabled
- IsMediaStreamEnabled
- IsPlayerAiming
- IsPlayerConnected
- IsPlayerDead
- IsPlayerInAnyVehicle
- IsPlayerInCover
- IsPlayerOnLadder
- IsPlayerReloading
- IsPlayerRespawning
- IsPlayerShooting
- KickPlayer
- PlayPlayerAnimation
- PlayPlayerScenario
- RemoveAllPlayerWeapons
- RemovePlayerDecoration
- RemovePlayerHeadBlendPaletteColor
- RemovePlayerWeapon
- ResetPlayerNametag
- SetPlayerAccessory
- SetPlayerArmor
- SetPlayerClothes
- SetPlayerCurrentWeapon
- SetPlayerCurrentWeaponAmmo
- SetPlayerCustomization
- SetPlayerDecoration
- SetPlayerEyeColor
- SetPlayerFaceFeature
- SetPlayerHairColor
- SetPlayerHeadBlend
- SetPlayerHeadBlendPaletteColor
- SetPlayerHeadOverlay
- SetPlayerHealth
- SetPlayerIntoVehicle
- SetPlayerName
- SetPlayerNametag
- SetPlayerSkin
- SetPlayerVelocity
- SetPlayerToSpectatePlayer
- SetPlayerToSpectator
- SetPlayerVelocity
- SetPlayerWeaponAmmo
- SpawnPlayer
- StopPlayerAnimation
- UpdatePlayerHeadBlend
- WarpPlayerOutOfVehicle
Pools
- GetAllBlips
- GetAllCheckpoints
- GetAllColShapes
- GetAllDummyEntities
- GetAllMarkers
- GetAllObjects
- GetAllPeds
- GetAllPickups
- GetAllPlayers
- GetAllTextLabels
- GetAllVehicles
Resource
- Call
- DoesConfigExist
- DoesResourceExist
- GetAllResources
- GetCurrentGamemode
- GetMapGamemodes
- GetMapsForGamemode
- GetResourceAuthor
- GetResourceCommandInfo
- GetResourceCommandInfos
- GetResourceCommands
- GetResourceDescription
- GetResourceFolder
- GetResourceName
- GetResourceSetting
- GetResourceSettingDescription
- GetResourceSettings
- GetResourceType
- GetResourceVersion
- GetRunningResources
- GetSetting
- GetThisResource
- HasResourceSetting
- HasSetting
- IsResourceRunning
- LoadXml
- SetResourceSetting
- SetSetting
- StartResource
- StopResource
Server
- GetGamemodeName
- GetMaxPlayers
- GetServerName
- GetServerPort
- IsPasswordProtected
- SetAutoRespawnAfterDeath
- SetAutoSpawnOnConnect
- SetCommandErrorMessage
- SetDefaultSpawnLocation
- SetGamemodeName
- SetGlobalDefaultCommandMessages
- SetGlobalServerChat
- SetLogCommandParamParserExceptions
- SetLogRemoteEventParamParserExceptions
- SetServerName
- SetServerPassword
Task
TextLabel
- CreateTextLabel
- GetTextLabelColor
- GetTextLabelRange
- GetTextLabelSeethrough
- GetTextLabelText
- SetTextLabelColor
- SetTextLabelRange
- SetTextLabelSeethrough
- SetTextLabelText
Util
- ConsoleOutput
- FromJson
- GetAllWeaponComponents
- GetHashKey
- GetHashSha256
- PedNameToModel
- PickupNameToModel
- ToJson
- VehicleNameToModel
- WeaponNameToModel
Vehicle
- CreateVehicle
- ExplodeVehicle
- GetVehicleBodyHealth
- GetVehicleBulletproofTyres
- GetVehicleClass
- GetVehicleClassName
- GetVehicleCustomPrimaryColor
- GetVehicleCustomSecondaryColor
- GetVehicleCustomTires
- GetVehicleDashboardColor
- GetVehicleDisplayName
- GetVehicleDriver
- GetVehicleEngineHealth
- GetVehicleEnginePowerMultiplier
- GetVehicleEngineStatus
- GetVehicleEngineTorqueMultiplier
- GetVehicleExtra
- GetVehicleHealth
- GetVehicleLivery
- GetVehicleLocked
- GetVehicleMaxAcceleration
- GetVehicleMaxBraking
- GetVehicleMaxOccupants
- GetVehicleMaxPassengers
- GetVehicleMaxSpeed
- GetVehicleMaxTraction
- GetVehicleMod
- GetVehicleNeonColor
- GetVehicleNeonState
- GetVehicleNumberPlate
- GetVehicleNumberPlateStyle
- GetVehicleOccupants
- GetVehiclePearlescentColor
- GetVehiclePrimaryColor
- GetVehiclePrimaryPaint
- GetVehicleSecondaryColor
- GetVehicleSecondaryPaint
- GetVehicleSirenState
- GetVehicleSpecialLightStatus
- GetVehicleTrailer
- GetVehicleTraileredBy
- GetVehicleTrimColor
- GetVehicleTyreSmokeColor
- GetVehicleWheelColor
- GetVehicleWheelType
- GetVehicleWindowTint
- RemoveVehicleMod
- RepairVehicle
- SetVehicleBodyHealth
- SetVehicleBulletproofTyres
- SetVehicleCustomPrimaryColor
- SetVehicleCustomSecondaryColor
- SetVehicleCustomTires
- SetVehicleDashboardColor
- SetVehicleEngineHealth
- SetVehicleEnginePowerMultiplier
- SetVehicleEngineStatus
- SetVehicleEngineTorqueMultiplier
- SetVehicleExtra
- SetVehicleHealth
- SetVehicleLivery
- SetVehicleLocked
- SetVehicleMod
- SetVehicleNeonColor
- SetVehicleNeonState
- SetVehicleNumberPlate
- SetVehicleNumberPlateStyle
- SetVehiclePearlescentColor
- SetVehiclePrimaryColor
- SetVehiclePrimaryPaint
- SetVehicleSecondaryColor
- SetVehicleSecondaryPaint
- SetVehicleSirenState
- SetVehicleSpecialLightStatus
- SetVehicleTrimColor
- SetVehicleTyreSmokeColor
- SetVehicleWheelColor
- SetVehicleWheelType
- SetVehicleWindowTint