Server-side CSharp function: Difference between revisions
(→Pickup) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 334: | Line 334: | ||
*[[SetLogCommandParamParserExceptions]] | *[[SetLogCommandParamParserExceptions]] | ||
*[[SetLogRemoteEventParamParserExceptions]] | *[[SetLogRemoteEventParamParserExceptions]] | ||
*[[ | *[[StartBatch]] | ||
==Task== | ==Task== | ||
| Line 355: | Line 354: | ||
*[[ConsoleOutput]] | *[[ConsoleOutput]] | ||
*[[FromJson]] | *[[FromJson]] | ||
*[[GetAllWeaponComponents]] | *<del>[[GetAllWeaponComponents]]</del> | ||
*[[GetHashKey]] | *[[GetHashKey]] | ||
*[[GetHashSha256]] | *[[GetHashSha256]] | ||
| Line 368: | Line 367: | ||
*[[ExplodeVehicle]] | *[[ExplodeVehicle]] | ||
*[[GetVehicleBodyHealth]] | *[[GetVehicleBodyHealth]] | ||
*[[GetVehicleBulletproofTyres]] | *<del>[[GetVehicleBulletproofTyres]]</del> | ||
*[[GetVehicleClass]] | *[[GetVehicleClass]] | ||
*[[GetVehicleClassName]] | *[[GetVehicleClassName]] | ||
| Line 378: | Line 377: | ||
*[[GetVehicleDriver]] | *[[GetVehicleDriver]] | ||
*[[GetVehicleEngineHealth]] | *[[GetVehicleEngineHealth]] | ||
*[[GetVehicleEnginePowerMultiplier]] | *<del>[[GetVehicleEnginePowerMultiplier]]</del> | ||
*[[GetVehicleEngineStatus]] | *[[GetVehicleEngineStatus]] | ||
*[[GetVehicleEngineTorqueMultiplier]] | *<del>[[GetVehicleEngineTorqueMultiplier]]</del> | ||
*[[GetVehicleExtra]] | *[[GetVehicleExtra]] | ||
*[[GetVehicleHealth]] | *[[GetVehicleHealth]] | ||
| Line 407: | Line 406: | ||
*[[GetVehicleTraileredBy]] | *[[GetVehicleTraileredBy]] | ||
*[[GetVehicleTrimColor]] | *[[GetVehicleTrimColor]] | ||
*[[GetVehicleTyreSmokeColor]] | *<del>[[GetVehicleTyreSmokeColor]]</del> | ||
*[[GetVehicleWheelColor]] | *[[GetVehicleWheelColor]] | ||
*[[GetVehicleWheelType]] | *[[GetVehicleWheelType]] | ||
| Line 414: | Line 413: | ||
*[[RepairVehicle]] | *[[RepairVehicle]] | ||
*[[SetVehicleBodyHealth]] | *[[SetVehicleBodyHealth]] | ||
*[[SetVehicleBulletproofTyres]] | *<del>[[SetVehicleBulletproofTyres]]</del> | ||
*[[SetVehicleCustomPrimaryColor]] | *[[SetVehicleCustomPrimaryColor]] | ||
*[[SetVehicleCustomSecondaryColor]] | *[[SetVehicleCustomSecondaryColor]] | ||
| Line 420: | Line 419: | ||
*[[SetVehicleDashboardColor]] | *[[SetVehicleDashboardColor]] | ||
*[[SetVehicleEngineHealth]] | *[[SetVehicleEngineHealth]] | ||
*[[SetVehicleEnginePowerMultiplier]] | *<del>[[SetVehicleEnginePowerMultiplier]]</del> | ||
*[[SetVehicleEngineStatus]] | *[[SetVehicleEngineStatus]] | ||
*[[SetVehicleEngineTorqueMultiplier]] | *<del>[[SetVehicleEngineTorqueMultiplier]]</del> | ||
*[[SetVehicleExtra]] | *[[SetVehicleExtra]] | ||
*[[SetVehicleHealth]] | *[[SetVehicleHealth]] | ||
| Line 440: | Line 439: | ||
*[[SetVehicleSpecialLightStatus]] | *[[SetVehicleSpecialLightStatus]] | ||
*[[SetVehicleTrimColor]] | *[[SetVehicleTrimColor]] | ||
*[[SetVehicleTyreSmokeColor]] | *<del>[[SetVehicleTyreSmokeColor]]</del> | ||
*[[SetVehicleWheelColor]] | *[[SetVehicleWheelColor]] | ||
*[[SetVehicleWheelType]] | *[[SetVehicleWheelType]] | ||
*[[SetVehicleWindowTint]] | *[[SetVehicleWindowTint]] | ||
*[[SpawnVehicle]] | |||
==World== | ==World== | ||
Latest revision as of 15:00, 23 December 2022
ACL
- DoesPlayerHaveAccessToCommand
- GetPlayerAclGroup
- IsAclEnabled
- IsPlayerLoggedIn
- LoginPlayer
- LogoutPlayer
Blip
- CreateBlip
- GetBlipColor
- GetBlipName
- GetBlipPosition
GetBlipRouteColorGetBlipRouteVisible- GetBlipScale
- GetBlipShortRange
- GetBlipSprite
- GetBlipTransparency
- SetBlipColor
- SetBlipName
- SetBlipPosition
SetBlipRouteColorSetBlipRouteVisible- SetBlipScale
- SetBlipShortRange
- SetBlipSprite
- SetBlipTransparency
Chat
Checkpoint
- CreateCheckpoint
- GetCheckpointColor
- GetCheckpointDirection
- GetCheckpointScale
- SetCheckpointColor
- SetCheckpointDirection
- SetCheckpointScale
ClientEvent
- CancelPendingRpc
- HasPendingRpc
- Register
- RegisterProc
- TriggerClientEvent
- TriggerClientEventForAll
- TriggerClientEventInDimension
- TriggerClientEventInRange
- TriggerClientEventToPlayers
- TriggerClientEventUnreliable
- TriggerClientProc
- Unregister
- UnregisterPendingRpc
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
CreateLoopedParticleEffectOnEntityCreateLoopedParticleEffectOnPosition- 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
- StartBatch
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
- SpawnVehicle