Server-side CSharp function: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 233: Line 233:
*[[NAPI.Player.UnspectatePlayer|UnspectatePlayer]]
*[[NAPI.Player.UnspectatePlayer|UnspectatePlayer]]
*[[NAPI.Player.WarpPlayerOutOfVehicle|WarpPlayerOutOfVehicle]]
*[[NAPI.Player.WarpPlayerOutOfVehicle|WarpPlayerOutOfVehicle]]
==Pools==
*[[NAPI.Pools.GetAllBlips|GetAllBlips]]
*[[NAPI.Pools.GetAllEntityData|GetAllEntityData]]
*[[NAPI.Pools.GetAllLabels|GetAllLabels]]
*[[NAPI.Pools.GetAllMarkers|GetAllMarkers]]
*[[NAPI.Pools.GetAllObjects|GetAllObjects]]
*[[NAPI.Pools.GetAllPickups|GetAllPickups]]
*[[NAPI.Pools.GetAllPlayers|GetAllPlayers]]
*[[NAPI.Pools.GetAllResources|GetAllResources]]
*[[NAPI.Pools.GetAllVehicles|GetAllVehicles]]
==RemoteEvent==
*[[NAPI.RemoteEvent.Register|Register]]
*[[NAPI.RemoteEvent.Unregister|Unregister]]
==Resource==
*[[NAPI.Resource.Call|Call]]
*[[NAPI.Resource.DoesConfigExist|DoesConfigExist]]
*[[NAPI.Resource.DoesResourceExist|DoesResourceExist]]
*[[NAPI.Resource.GetAllResources|GetAllResources]]
*[[NAPI.Resource.GetCurrentGamemode|GetCurrentGamemode]]
*[[NAPI.Resource.GetMapGamemodes|GetMapGamemodes]]
*[[NAPI.Resource.GetMapsForGamemode|GetMapsForGamemode]]
*[[NAPI.Resource.GetResourceAuthor|GetResourceAuthor]]
*[[NAPI.Resource.GetResourceCommandInfo|GetResourceCommandInfo]]
*[[NAPI.Resource.GetResourceCommandInfos|GetResourceCommandInfos]]
*[[NAPI.Resource.GetResourceCommands|GetResourceCommands]]
*[[NAPI.Resource.GetResourceDescription|GetResourceDescription]]
*[[NAPI.Resource.GetResourceFolder|GetResourceFolder]]
*[[NAPI.Resource.GetResourceName|GetResourceName]]
*[[NAPI.Resource.GetResourceSetting|GetResourceSetting]]
*[[NAPI.Resource.GetResourceSettingDescription|GetResourceSettingDescription]]
*[[NAPI.Resource.GetResourceSettings|GetResourceSettings]]
*[[NAPI.Resource.GetResourceType|GetResourceType]]
*[[NAPI.Resource.GetResourceVersion|GetResourceVersion]]
*[[NAPI.Resource.GetRunningResources|GetRunningResources]]
*[[NAPI.Resource.GetSetting|GetSetting]]
*[[NAPI.Resource.GetThisResource|GetThisResource]]
*[[NAPI.Resource.HasResourceSetting|HasResourceSetting]]
*[[NAPI.Resource.HasSetting|HasSetting]]
*[[NAPI.Resource.IsResourceRunning|IsResourceRunning]]
*[[NAPI.Resource.LoadConfig|LoadConfig]]
*[[NAPI.Resource.LoadXml|LoadXml]]
*[[NAPI.Resource.SetResourceSetting|SetResourceSetting]]
*[[NAPI.Resource.SetSetting|SetSetting]]
*[[NAPI.Resource.StartResource|StartResource]]
*[[NAPI.Resource.StopResource|StopResource]]
==Server==
*[[NAPI.Server.GetMaxPlayers|GetMaxPlayers]]
*[[NAPI.Server.GetServerName|GetServerName]]
*[[NAPI.Server.GetServerPort|GetServerPort]]
*[[NAPI.Server.IsPasswordProtected|IsPasswordProtected]]
*[[NAPI.Server.SetCommandErrorMessage|SetCommandErrorMessage]]
*[[NAPI.Server.SetDefaultSpawnLocation|SetDefaultSpawnLocation]]
*[[NAPI.Server.SetGamemodeName|SetGamemodeName]]
*[[NAPI.Server.SetServerName|SetServerName]]
*[[NAPI.Server.SetServerPassword|SetServerPassword]]
==TextLabel==
*[[NAPI.TextLabel.CreateTextLabel|CreateTextLabel]]
*[[NAPI.TextLabel.GetAllLabels|GetAllLabels]]
*[[NAPI.TextLabel.GetTextLabelColor|GetTextLabelColor]]
*[[NAPI.TextLabel.GetTextLabelText|GetTextLabelText]]
*[[NAPI.TextLabel.SetTextLabelColor|SetTextLabelColor]]
*[[NAPI.TextLabel.SetTextLabelSeethrough|SetTextLabelSeethrough]]
*[[NAPI.TextLabel.SetTextLabelText|SetTextLabelText]]
==Util==
*[[NAPI.Util.ConsoleOutput|ConsoleOutput]]
*[[NAPI.Util.FromJson|FromJson]]
*[[NAPI.Util.GetAllWeaponComponents|GetAllWeaponComponents]]
*[[NAPI.Util.GetHashKey|GetHashKey]]
*[[NAPI.Util.PedNameToModel|PedNameToModel]]
*[[NAPI.Util.PickupNameToModel|PickupNameToModel]]
*[[NAPI.Util.ToJson|ToJson]]
*[[NAPI.Util.VehicleNameToModel|VehicleNameToModel]]
*[[NAPI.Util.WeaponNameToModel|WeaponNameToModel]]
==Vehicle==
*[[NAPI.Vehicle.BreakVehicleDoor|BreakVehicleDoor]]
*[[NAPI.Vehicle.BreakVehicleWindow|BreakVehicleWindow]]
*[[NAPI.Vehicle.CreateVehicle|CreateVehicle]]
*[[NAPI.Vehicle.GetAllVehicles|GetAllVehicles]]
*[[NAPI.Vehicle.GetVehicleBulletproofTyres|GetVehicleBulletproofTyres]]
*[[NAPI.Vehicle.GetVehicleClass|GetVehicleClass]]
*[[NAPI.Vehicle.GetVehicleClassName|GetVehicleClassName]]
*[[NAPI.Vehicle.GetVehicleCustomPrimaryColor|GetVehicleCustomPrimaryColor]]
*[[NAPI.Vehicle.GetVehicleCustomSecondaryColor|GetVehicleCustomSecondaryColor]]
*[[NAPI.Vehicle.GetVehicleDashboardColor|GetVehicleDashboardColor]]
*[[NAPI.Vehicle.GetVehicleDisplayName|GetVehicleDisplayName]]
*[[NAPI.Vehicle.GetVehicleEnginePowerMultiplier|GetVehicleEnginePowerMultiplier]]
*[[NAPI.Vehicle.GetVehicleEngineStatus|GetVehicleEngineStatus]]
*[[NAPI.Vehicle.GetVehicleEngineTorqueMultiplier|GetVehicleEngineTorqueMultiplier]]
*[[NAPI.Vehicle.GetVehicleExtra|GetVehicleExtra]]
*[[NAPI.Vehicle.GetVehicleHealth|GetVehicleHealth]]
*[[NAPI.Vehicle.GetVehicleLivery|GetVehicleLivery]]
*[[NAPI.Vehicle.GetVehicleMaxAcceleration|GetVehicleMaxAcceleration]]
*[[NAPI.Vehicle.GetVehicleMaxBraking|GetVehicleMaxBraking]]
*[[NAPI.Vehicle.GetVehicleMaxOccupants|GetVehicleMaxOccupants]]
*[[NAPI.Vehicle.GetVehicleMaxSpeed|GetVehicleMaxSpeed]]
*[[NAPI.Vehicle.GetVehicleMaxTraction|GetVehicleMaxTraction]]
*[[NAPI.Vehicle.GetVehicleMod|GetVehicleMod]]
*[[NAPI.Vehicle.GetVehicleModColor1|GetVehicleModColor1]]
*[[NAPI.Vehicle.GetVehicleModColor2|GetVehicleModColor2]]
*[[NAPI.Vehicle.GetVehicleNeonColor|GetVehicleNeonColor]]
*[[NAPI.Vehicle.GetVehicleNeonState|GetVehicleNeonState]]
*[[NAPI.Vehicle.GetVehicleNumberPlate|GetVehicleNumberPlate]]
*[[NAPI.Vehicle.GetVehicleNumberPlateStyle|GetVehicleNumberPlateStyle]]
*[[NAPI.Vehicle.GetVehiclePearlescentColor|GetVehiclePearlescentColor]]
*[[NAPI.Vehicle.GetVehiclePrimaryColor|GetVehiclePrimaryColor]]
*[[NAPI.Vehicle.GetVehicleSecondaryColor|GetVehicleSecondaryColor]]
*[[NAPI.Vehicle.GetVehicleSirenState|GetVehicleSirenState]]
*[[NAPI.Vehicle.GetVehicleSpecialLightStatus|GetVehicleSpecialLightStatus]]
*[[NAPI.Vehicle.GetVehicleTrailer|GetVehicleTrailer]]
*[[NAPI.Vehicle.GetVehicleTraileredBy|GetVehicleTraileredBy]]
*[[NAPI.Vehicle.GetVehicleTrimColor|GetVehicleTrimColor]]
*[[NAPI.Vehicle.GetVehicleTyreSmokeColor|GetVehicleTyreSmokeColor]]
*[[NAPI.Vehicle.GetVehicleWheelColor|GetVehicleWheelColor]]
*[[NAPI.Vehicle.GetVehicleWheelType|GetVehicleWheelType]]
*[[NAPI.Vehicle.GetVehicleWindowTint|GetVehicleWindowTint]]
*[[NAPI.Vehicle.IsVehicleDoorBroken|IsVehicleDoorBroken]]
*[[NAPI.Vehicle.IsVehicleTyrePopped|IsVehicleTyrePopped]]
*[[NAPI.Vehicle.IsVehicleWindowBroken|IsVehicleWindowBroken]]
*[[NAPI.Vehicle.PopVehicleTyre|PopVehicleTyre]]
*[[NAPI.Vehicle.RemoveVehicleMod|RemoveVehicleMod]]
*[[NAPI.Vehicle.RepairVehicle|RepairVehicle]]
*[[NAPI.Vehicle.SetVehicleBulletproofTyres|SetVehicleBulletproofTyres]]
*[[NAPI.Vehicle.SetVehicleCustomPrimaryColor|SetVehicleCustomPrimaryColor]]
*[[NAPI.Vehicle.SetVehicleCustomSecondaryColor|SetVehicleCustomSecondaryColor]]
*[[NAPI.Vehicle.SetVehicleDashboardColor|SetVehicleDashboardColor]]
*[[NAPI.Vehicle.SetVehicleEnginePowerMultiplier|SetVehicleEnginePowerMultiplier]]
*[[NAPI.Vehicle.SetVehicleEngineStatus|SetVehicleEngineStatus]]
*[[NAPI.Vehicle.SetVehicleEngineTorqueMultiplier|SetVehicleEngineTorqueMultiplier]]
*[[NAPI.Vehicle.SetVehicleExtra|SetVehicleExtra]]
*[[NAPI.Vehicle.SetVehicleHealth|SetVehicleHealth]]
*[[NAPI.Vehicle.SetVehicleLivery|SetVehicleLivery]]
*[[NAPI.Vehicle.SetVehicleLocked|SetVehicleLocked]]
*[[NAPI.Vehicle.SetVehicleMod|SetVehicleMod]]
*[[NAPI.Vehicle.SetVehicleModColor1|SetVehicleModColor1]]
*[[NAPI.Vehicle.SetVehicleModColor2|SetVehicleModColor2]]
*[[NAPI.Vehicle.SetVehicleNeonColor|SetVehicleNeonColor]]
*[[NAPI.Vehicle.SetVehicleNeonState|SetVehicleNeonState]]
*[[NAPI.Vehicle.SetVehicleNumberPlate|SetVehicleNumberPlate]]
*[[NAPI.Vehicle.SetVehicleNumberPlateStyle|SetVehicleNumberPlateStyle]]
*[[NAPI.Vehicle.SetVehiclePearlescentColor|SetVehiclePearlescentColor]]
*[[NAPI.Vehicle.SetVehiclePrimaryColor|SetVehiclePrimaryColor]]
*[[NAPI.Vehicle.SetVehicleSecondaryColor|SetVehicleSecondaryColor]]
*[[NAPI.Vehicle.SetVehicleSpecialLightStatus|SetVehicleSpecialLightStatus]]
*[[NAPI.Vehicle.SetVehicleTrimColor|SetVehicleTrimColor]]
*[[NAPI.Vehicle.SetVehicleTyreSmokeColor|SetVehicleTyreSmokeColor]]
*[[NAPI.Vehicle.SetVehicleWheelColor|SetVehicleWheelColor]]
*[[NAPI.Vehicle.SetVehicleWheelType|SetVehicleWheelType]]
*[[NAPI.Vehicle.SetVehicleWindowTint|SetVehicleWindowTint]]
*[[NAPI.Vehicle.VehicleNameToModel|VehicleNameToModel]]
==World==
*[[NAPI.World.DeleteWorldProp|DeleteWorldProp]]
*[[NAPI.World.GetTime|GetTime]]
*[[NAPI.World.GetWeather|GetWeather]]
*[[NAPI.World.RemoveIpl|RemoveIpl]]
*[[NAPI.World.RequestIpl|RequestIpl]]
*[[NAPI.World.ResetIplList|ResetIplList]]
*[[NAPI.World.SetTime|SetTime]]
*[[NAPI.World.SetWeather|SetWeather]]

Revision as of 21:29, 26 November 2019

ACL

Blip

Chat

Checkpoint

ClientEvent

ColShape

Command

Data

Entity

Explosion

Marker

Native

Notification

Object

Particle

Ped

Pickup

Player

Pools

RemoteEvent

Resource

Server

TextLabel

Util

Vehicle

World