---
title: "405 dokumentasi memiliki tag dengan \"player\" | open.mp"
canonical: https://omp.itsneufox.com/id/docs/tags/player
language: id
---

# 405 dokumentasi memiliki tag dengan "player"

[Lihat Semua Tag](https://omp.itsneufox.com/id/docs/tags)

[

## AddPlayerClass

](https://omp.itsneufox.com/id/docs/scripting/functions/AddPlayerClass)

Adds a class to class selection.

[

## AddPlayerClassEx

](https://omp.itsneufox.com/id/docs/scripting/functions/AddPlayerClassEx)

This function is exactly the same as the AddPlayerClass function, with the addition of a team parameter.

[

## AllowPlayerTeleport

](https://omp.itsneufox.com/id/docs/scripting/functions/AllowPlayerTeleport)

Enable/Disable the teleporting ability for a player by right-clicking on the map.

[

## AllowPlayerWeapons

](https://omp.itsneufox.com/id/docs/scripting/functions/AllowPlayerWeapons)

Enable/Disable weapons for a player.

[

## ArePlayerWeaponsAllowed

](https://omp.itsneufox.com/id/docs/scripting/functions/ArePlayerWeaponsAllowed)

Can the player use weapons?

[

## Attach3DTextLabelToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/Attach3DTextLabelToPlayer)

Attach a 3D text label to a player.

[

## AttachCameraToObject

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachCameraToObject)

You can use this function to attach the player camera to objects.

[

## AttachCameraToPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachCameraToPlayerObject)

Attaches a player's camera to a player-object.

[

## AttachObjectToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachObjectToPlayer)

Attach an object to a player.

[

## AttachPlayerObjectToObject

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachPlayerObjectToObject)

You can use this function to attach player-objects to other player-objects.

[

## AttachPlayerObjectToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachPlayerObjectToPlayer)

The same as AttachObjectToPlayer but for objects which were created for player.

[

## AttachPlayerObjectToVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/AttachPlayerObjectToVehicle)

Attach a player object to a vehicle.

[

## BeginObjectEditing

](https://omp.itsneufox.com/id/docs/scripting/functions/BeginObjectEditing)

Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).

[

## BeginPlayerObjectEditing

](https://omp.itsneufox.com/id/docs/scripting/functions/BeginPlayerObjectEditing)

Allows players to edit a player-object (position and rotation) with a GUI and their mouse.

[

## ClearAnimations

](https://omp.itsneufox.com/id/docs/scripting/functions/ClearAnimations)

Clears all animations for the given player.

[

## ClearPlayerWorldBounds

](https://omp.itsneufox.com/id/docs/scripting/functions/ClearPlayerWorldBounds)

Reset the player's world boundaries to default world boundaries.

[

## CreateExplosionForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/CreateExplosionForPlayer)

Creates an explosion that is only visible to a single player.

[

## CreatePlayer3DTextLabel

](https://omp.itsneufox.com/id/docs/scripting/functions/CreatePlayer3DTextLabel)

Creates a 3D Text Label only for a specific player.

[

## CreatePlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/functions/CreatePlayerGangZone)

Create player gangzone

[

## CreatePlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/CreatePlayerObject)

Creates an object which will be visible to only one player.

[

## CreatePlayerPickup

](https://omp.itsneufox.com/id/docs/scripting/functions/CreatePlayerPickup)

Creates a pickup which will be visible to only one player.

[

## CreatePlayerTextDraw

](https://omp.itsneufox.com/id/docs/scripting/functions/CreatePlayerTextDraw)

Creates a textdraw for a single player.

[

## DeletePlayer3DTextLabel

](https://omp.itsneufox.com/id/docs/scripting/functions/DeletePlayer3DTextLabel)

Destroy a 3D text label that was created using CreatePlayer3DTextLabel.

[

## DestroyPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/DestroyPlayerObject)

Destroy a player-object created using CreatePlayerObject.

[

## DestroyPlayerPickup

](https://omp.itsneufox.com/id/docs/scripting/functions/DestroyPlayerPickup)

Destroys a player-pickup created with CreatePlayerPickup.

[

## DisablePlayerCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/DisablePlayerCheckpoint)

Disables (hides/destroys) a player's set checkpoint.

[

## DisablePlayerRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/DisablePlayerRaceCheckpoint)

Disable any initialized race checkpoints for a specific player, since you can only have one at any given time.

[

## EditAttachedObject

](https://omp.itsneufox.com/id/docs/scripting/functions/EditAttachedObject)

Enter edition mode for an attached object.

[

## EditPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/EditPlayerObject)

Allows players to edit a player-object (position and rotation) with a GUI and their mouse.

[

## EnablePlayerCameraTarget

](https://omp.itsneufox.com/id/docs/scripting/functions/EnablePlayerCameraTarget)

Toggle camera targeting functions for a player.

[

## EnableStuntBonusForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/EnableStuntBonusForPlayer)

Toggle stunt bonuses for a player.

[

## GameTextForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GameTextForPlayer)

Shows 'game text' (on-screen text) for a certain length of time for a specific player.

[

## GangZoneFlashForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneFlashForPlayer)

Makes a gangzone flash for a player.

[

## GangZoneGetColourForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneGetColourForPlayer)

Get the colour of a gangzone for player

[

## GangZoneGetFlashColourForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneGetFlashColourForPlayer)

Get the flashing colour of a gangzone for player

[

## GangZoneGetPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneGetPos)

Get the position of a gangzone, represented by minX, minY, maxX, maxY coordinates

[

## GangZoneHideForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneHideForPlayer)

Hides a gangzone for a player.

[

## GangZoneShowForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneShowForPlayer)

Show a gangzone for a player.

[

## GangZoneStopFlashForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GangZoneStopFlashForPlayer)

Stops a gangzone flashing for a player.

[

## GetDefaultPlayerColour

](https://omp.itsneufox.com/id/docs/scripting/functions/GetDefaultPlayerColour)

Gets the default colour for the player ID.

[

## GetGameText

](https://omp.itsneufox.com/id/docs/scripting/functions/GetGameText)

Returns all the information on the given game text style.

[

## GetMaxPlayers

](https://omp.itsneufox.com/id/docs/scripting/functions/GetMaxPlayers)

Returns the maximum number of players that can join the server, as set by the server variable 'max\_players'.

[

## GetPlayer3DTextLabelAttached

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelAttached)

Gets the player's 3D text label attached data.

[

## GetPlayer3DTextLabelAttachedData

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelAttachedData)

Gets the player's 3D text label attached data.

[

## GetPlayer3DTextLabelColor

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelColor)

Gets the player's 3D text label color.

[

## GetPlayer3DTextLabelColour

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelColour)

Gets the player's 3D text label colour.

[

## GetPlayer3DTextLabelDrawDist

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelDrawDist)

Gets the player's 3D text label draw distance.

[

## GetPlayer3DTextLabelDrawDistance

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelDrawDistance)

Gets the player's 3D text label draw distance.

[

## GetPlayer3DTextLabelLOS

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelLOS)

Gets the player's 3D text label line-of-sight.

[

## GetPlayer3DTextLabelPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelPos)

Gets the player's 3D text label position.

[

## GetPlayer3DTextLabelText

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelText)

Gets the player's 3D text label text.

[

## GetPlayer3DTextLabelVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayer3DTextLabelVirtualWorld)

Gets the player's 3D text label virtual world id.

[

## GetPlayerAmmo

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerAmmo)

Gets the amount of ammo in a player's current weapon.

[

## GetPlayerAnimationFlags

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerAnimationFlags)

Get the player animation flags.

[

## GetPlayerAnimationIndex

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerAnimationIndex)

Returns the index of any running applied animations.

[

## GetPlayerAnimFlags

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerAnimFlags)

Get the player animation flags.

[

## GetPlayerArmour

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerArmour)

This function stores the armour of a player into a variable.

[

## GetPlayerAttachedObject

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerAttachedObject)

Gets the player attachment object data by index.

[

## GetPlayerBuildingsRemoved

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerBuildingsRemoved)

Gets the number of removed buildings for a player.

[

## GetPlayerCameraAspectRatio

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraAspectRatio)

Retrieves the aspect ratio of a player's camera.

[

## GetPlayerCameraFrontVector

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraFrontVector)

This function will return the current direction of player's aiming in 3-D space, the coords are relative to the camera position, see GetPlayerCameraPos.

[

## GetPlayerCameraMode

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraMode)

Returns the current GTA camera mode for the requested player.

[

## GetPlayerCameraPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraPos)

Get the position of the player's camera.

[

## GetPlayerCameraTargetActor

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraTargetActor)

Allows you to retrieve the ID of the actor the player is looking at (in any).

[

## GetPlayerCameraTargetObject

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraTargetObject)

Allows you to retrieve the ID of the object the player is looking at.

[

## GetPlayerCameraTargetPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraTargetPlayer)

Allows you to retrieve the ID of the player the playerid is looking at.

[

## GetPlayerCameraTargetPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraTargetPlayerObject)

Allows you to retrieve the ID of the player-object the player is looking at.

[

## GetPlayerCameraTargetVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraTargetVehicle)

Get the ID of the vehicle the player is looking at.

[

## GetPlayerCameraUpVector

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraUpVector)

This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen.

[

## GetPlayerCameraZoom

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCameraZoom)

Retrieves the game camera zoom level for a given player.

[

## GetPlayerCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCheckpoint)

Get the location of the current checkpoint.

[

## GetPlayerColor

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerColor)

Gets the color of the player's name and radar marker.

[

## GetPlayerCustomSkin

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerCustomSkin)

Returns the class of the players custom skin downloaded from the server.

[

## GetPlayerDialog

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerDialog)

Get the ID of the dialog currently show to the player.

[

## GetPlayerDialogData

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerDialogData)

Get the data of the dialog currently show to the player.

[

## GetPlayerDialogID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerDialogID)

Get the ID of the dialog currently show to the player.

[

## GetPlayerDistanceFromPoint

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerDistanceFromPoint)

Calculate the distance between a player and a map coordinate.

[

## GetPlayerDrunkLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerDrunkLevel)

Checks the player's level of drunkenness.

[

## GetPlayerFacingAngle

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerFacingAngle)

Gets the angle a player is facing.

[

## GetPlayerFightingStyle

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerFightingStyle)

Get the fighting style the player currently using.

[

## GetPlayerGhostMode

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerGhostMode)

Get player's ghost mode.

[

## GetPlayerGravity

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerGravity)

Get a player's gravity.

[

## GetPlayerHealth

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerHealth)

The function GetPlayerHealth allows you to retrieve the health of a player.

[

## GetPlayerHydraReactorAngle

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerHydraReactorAngle)

Gets the hydra reactor angle of the player's vehicle.

[

## GetPlayerInterior

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerInterior)

Retrieves the player's current interior.

[

## GetPlayerIp

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerIp)

Get the specified player's IP address and store it in a string.

[

## GetPlayerKeys

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerKeys)

Check which keys a player is pressing.

[

## GetPlayerLandingGearState

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerLandingGearState)

Gets the landing gear state of the current player's vehicle.

[

## GetPlayerLastShotVectors

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerLastShotVectors)

Retrieves the start and end (hit) position of the last bullet a player fired.

[

## GetPlayerLastSyncedTrailerID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerLastSyncedTrailerID)

Gets the player's last synced trailer ID.

[

## GetPlayerLastSyncedVehicleID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerLastSyncedVehicleID)

Gets the player's last synced vehicle ID.

[

## GetPlayerMarkerForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerMarkerForPlayer)

Get the colour of a player's nametag and radar blip for another player.

[

## GetPlayerMenu

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerMenu)

Gets the ID of the menu the player is currently viewing (shown by ShowMenuForPlayer).

[

## GetPlayerMoney

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerMoney)

Mengambil jumlah uang yang dimiliki oleh pemain

[

## GetPlayerName

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerName)

Get a player's name.

[

## GetPlayerNetworkStats

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerNetworkStats)

Gets a player's network stats and saves them into a string.

[

## GetPlayerObjectAttachedData

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectAttachedData)

Get the attachment data of a player-object.

[

## GetPlayerObjectAttachedOffset

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectAttachedOffset)

Get the attachment offset and rotation of a player-object.

[

## GetPlayerObjectDrawDistance

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectDrawDistance)

Get the draw distance of a player-object.

[

## GetPlayerObjectMaterial

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectMaterial)

Get the material data from an index of the player-object.

[

## GetPlayerObjectMaterialText

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectMaterialText)

Get the material text data from an index of the player-object.

[

## GetPlayerObjectModel

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectModel)

Retrieve the model ID of a player-object.

[

## GetPlayerObjectMoveSpeed

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectMoveSpeed)

Get the move speed of a player-object.

[

## GetPlayerObjectMovingTargetPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectMovingTargetPos)

Get the move target position of a player-object.

[

## GetPlayerObjectMovingTargetRot

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectMovingTargetRot)

Get the move target rotation of a player-object.

[

## GetPlayerObjectPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectPos)

Get the position of a player object (CreatePlayerObject).

[

## GetPlayerObjectRot

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectRot)

Use this function to get the object's current rotation.

[

## GetPlayerObjectSyncRotation

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerObjectSyncRotation)

Get the sync rotation of a player-object.

[

## GetPlayerPickupModel

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPickupModel)

Gets the model ID of a player-pickup.

[

## GetPlayerPickupPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPickupPos)

Gets the coordinates of a player-pickup.

[

## GetPlayerPickupType

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPickupType)

Gets the type of a player-pickup.

[

## GetPlayerPickupVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPickupVirtualWorld)

Gets the virtual world ID of a player-pickup.

[

## GetPlayerPing

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPing)

Get the ping of a player.

[

## GetPlayerPoolSize

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPoolSize)

Gets the highest playerid currently in use on the server.

[

## GetPlayerPos

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerPos)

Get the position of a player, represented by X, Y and Z coordinates.

[

## GetPlayerRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerRaceCheckpoint)

Get the location of the current race checkpoint.

[

## GetPlayerRawIp

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerRawIp)

Get the specified player's Raw IP address (v4).

[

## GetPlayerRotationQuat

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerRotationQuat)

Returns a player's rotation on all axes as a quaternion.

[

## GetPlayers

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayers)

Gets an array variable of the IDs of the current players on the server.

[

## GetPlayerScore

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerScore)

This function returns a player's score as it was set using SetPlayerScore.

[

## GetPlayerSirenState

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSirenState)

Gets the siren state of the player's vehicle.

[

## GetPlayerSkillLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSkillLevel)

Get the player skill level of a certain weapon type.

[

## GetPlayerSkin

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSkin)

Returns the class of the players skin.

[

## GetPlayerSpecialAction

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSpecialAction)

Retrieves a player's current special action.

[

## GetPlayerSpectateID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSpectateID)

Gets the ID of the player or vehicle the player is spectating (watching).

[

## GetPlayerSpectateType

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSpectateType)

Returns the player's spectate type (vehicle or player).

[

## GetPlayerState

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerState)

Get a player's current state.

[

## GetPlayerSurfingObjectID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSurfingObjectID)

Returns the ID of the object the player is surfing on.

[

## GetPlayerSurfingOffsets

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSurfingOffsets)

Gets a player's surfing offsets.

[

## GetPlayerSurfingPlayerObjectID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSurfingPlayerObjectID)

Returns the ID of the player-object the player is surfing on.

[

## GetPlayerSurfingVehicleID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerSurfingVehicleID)

Get the ID of the vehicle that the player is surfing (stuck to the roof of).

[

## GetPlayerTargetActor

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerTargetActor)

Gets id of an actor which is aimed by certain player.

[

## GetPlayerTargetPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerTargetPlayer)

Check who a player is aiming at.

[

## GetPlayerTeam

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerTeam)

Get the ID of the team the player is on.

[

## GetPlayerTime

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerTime)

Get the player's current game time.

[

## GetPlayerTrainSpeed

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerTrainSpeed)

Gets the speed of the player's train.

[

## GetPlayerVehicleID

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerVehicleID)

This function gets the ID of the vehicle the player is currently in.

[

## GetPlayerVehicleSeat

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerVehicleSeat)

Find out which seat a player is in.

[

## GetPlayerVelocity

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerVelocity)

Get the velocity (speed) of a player on the X, Y and Z axes.

[

## GetPlayerVersion

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerVersion)

Returns the SA-MP client version, as reported by the player.

[

## GetPlayerVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerVirtualWorld)

Retrieves the current virtual world the player is in.

[

## GetPlayerWantedLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWantedLevel)

Gets the wanted level of a player.

[

## GetPlayerWeapon

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWeapon)

Returns the ID of the weapon a player is currently holding.

[

## GetPlayerWeaponData

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWeaponData)

Get the weapon and ammo in a specific player's weapon slot (e.g. the weapon in the 'SMG' slot).

[

## GetPlayerWeaponState

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWeaponState)

Check the state of a player's weapon.

[

## GetPlayerWeather

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWeather)

Get a player's weather.

[

## GetPlayerWorldBounds

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerWorldBounds)

Get a player's world boundaries.

[

## GetPlayerZAim

](https://omp.itsneufox.com/id/docs/scripting/functions/GetPlayerZAim)

Gets a player's Z Aim.

[

## GetSpawnInfo

](https://omp.itsneufox.com/id/docs/scripting/functions/GetSpawnInfo)

Return the current spawn data for a player, where they will spawn next.

[

## GivePlayerMoney

](https://omp.itsneufox.com/id/docs/scripting/functions/GivePlayerMoney)

Give money to or take money from a player.

[

## GivePlayerWeapon

](https://omp.itsneufox.com/id/docs/scripting/functions/GivePlayerWeapon)

Give a player a weapon with a specified amount of ammo.

[

## HasGameText

](https://omp.itsneufox.com/id/docs/scripting/functions/HasGameText)

Does the player currently have text in the given gametext style displayed?

[

## HasPlayerObjectCameraCollision

](https://omp.itsneufox.com/id/docs/scripting/functions/HasPlayerObjectCameraCollision)

Checks if a player-object has camera collision enabled (SetPlayerObjectNoCameraCollision).

[

## HideGameTextForAll

](https://omp.itsneufox.com/id/docs/scripting/functions/HideGameTextForAll)

Stop showing a gametext style for all players.

[

## HideGameTextForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/HideGameTextForPlayer)

Stop showing a gametext style to a player.

[

## HideMenuForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/HideMenuForPlayer)

Hides a menu for a player.

[

## HideObjectForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/HideObjectForPlayer)

Hide an object for a player.

[

## HidePickupForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/HidePickupForPlayer)

Hides a pickup for a specific player.

[

## HidePlayerDialog

](https://omp.itsneufox.com/id/docs/scripting/functions/HidePlayerDialog)

Hides any dialog the player may currently be able to see.

[

## InterpolateCameraLookAt

](https://omp.itsneufox.com/id/docs/scripting/functions/InterpolateCameraLookAt)

Interpolate a player's camera's 'look at' point between two coordinates with a set speed.

[

## InterpolateCameraPos

](https://omp.itsneufox.com/id/docs/scripting/functions/InterpolateCameraPos)

Move a player's camera from one position to another, within the set time.

[

## IsGangZoneFlashingForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/IsGangZoneFlashingForPlayer)

Check if the gangzone is flashing for player

[

## IsGangZoneVisibleForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/IsGangZoneVisibleForPlayer)

Check if the gangzone is visible for player

[

## IsObjectHiddenForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/IsObjectHiddenForPlayer)

Checks if an object is hidden for a player.

[

## IsPickupHiddenForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPickupHiddenForPlayer)

Checks if a pickup is hidden for a specific player.

[

## IsPickupStreamedIn

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPickupStreamedIn)

Checks if a pickup is streamed in for a specific player.

[

## IsPlayerAdmin

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerAdmin)

Check if a player is logged in as an RCON admin.

[

## IsPlayerAttachedObjectSlotUsed

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerAttachedObjectSlotUsed)

Check if a player has an object attached in the specified index (slot).

[

## IsPlayerCameraTargetEnabled

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerCameraTargetEnabled)

Check if the player camera target is enabled.

[

## IsPlayerCheckpointActive

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerCheckpointActive)

Check if the player currently has a checkpoint visible.

[

## IsPlayerConnected

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerConnected)

Checks if a player is connected (if an ID is taken by a connected player).

[

## IsPlayerControllable

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerControllable)

Check if the player is controllable.

[

## IsPlayerCuffed

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerCuffed)

Checks if the player special action is cuffed.

[

## IsPlayerGangZoneFlashing

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerGangZoneFlashing)

Check if the player gangzone is flashing

[

## IsPlayerGangZoneVisible

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerGangZoneVisible)

Check if the player gangzone is visible.

[

## IsPlayerInAnyVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInAnyVehicle)

Check if a player is inside any vehicle (as a driver or passenger).

[

## IsPlayerInCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInCheckpoint)

Check if the player is currently inside a checkpoint, this could be used for properties or teleport points for example.

[

## IsPlayerInDriveByMode

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInDriveByMode)

Check if the player is in driveby mode.

[

## IsPlayerInGangZone

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInGangZone)

Check if the player in gangzone

[

## IsPlayerInModShop

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInModShop)

Check if the player is in the mod shop.

[

## IsPlayerInPlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInPlayerGangZone)

Check if the player in player gangzone

[

## IsPlayerInRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInRaceCheckpoint)

Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).

[

## IsPlayerInRangeOfPoint

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInRangeOfPoint)

Memeriksa apakah pemain berada dalam jangkauan suatu titik.

[

## IsPlayerInVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerInVehicle)

Checks if a player is in a specific vehicle.

[

## IsPlayerNPC

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerNPC)

Check if a player is an actual player or an NPC.

[

## IsPlayerObjectMaterialSlotUsed

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerObjectMaterialSlotUsed)

Checks if a slot of player-object material is used.

[

## IsPlayerObjectMoving

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerObjectMoving)

Checks if the given player objectid is moving.

[

## IsPlayerPickupStreamedIn

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerPickupStreamedIn)

Checks if a player-pickup is streamed in for the player.

[

## IsPlayerRaceCheckpointActive

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerRaceCheckpointActive)

Check if the player currently has a race checkpoint visible.

[

## IsPlayerSpawned

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerSpawned)

Checks if a player is spawned.

[

## IsPlayerStreamedIn

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerStreamedIn)

Checks if a player is streamed in another player's client.

[

## IsPlayerTeleportAllowed

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerTeleportAllowed)

Can this player teleport by right-clicking on the map?

[

## IsPlayerTextDrawVisible

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerTextDrawVisible)

Checks if a player-textdraw is shown for the player.

[

## IsPlayerUsingOfficialClient

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerUsingOfficialClient)

Check if the player is using the official SA-MP client.

[

## IsPlayerUsingOmp

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerUsingOmp)

Check if the player is using the open.mp launcher.

[

## IsPlayerWidescreenToggled

](https://omp.itsneufox.com/id/docs/scripting/functions/IsPlayerWidescreenToggled)

Checks if a player widescreen is on or off.

[

## IsValidPlayer3DTextLabel

](https://omp.itsneufox.com/id/docs/scripting/functions/IsValidPlayer3DTextLabel)

Checks if a player's 3D text label is valid.

[

## IsValidPlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/functions/IsValidPlayerGangZone)

Check if the player gangzone valid

[

## IsValidPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/IsValidPlayerObject)

Checks if the given object ID is valid for the given player.

[

## IsValidPlayerPickup

](https://omp.itsneufox.com/id/docs/scripting/functions/IsValidPlayerPickup)

Checks if a player-pickup is valid.

[

## IsValidPlayerTextDraw

](https://omp.itsneufox.com/id/docs/scripting/functions/IsValidPlayerTextDraw)

Checks if a player-textdraw is valid.

[

## LimitPlayerMarkerRadius

](https://omp.itsneufox.com/id/docs/scripting/functions/LimitPlayerMarkerRadius)

Set the player marker radius.

[

## MovePlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/MovePlayerObject)

Move a player object with a set speed.

[

## NPC\_GetPlayerAimingAt

](https://omp.itsneufox.com/id/docs/scripting/functions/NPC_GetPlayerAimingAt)

Gets the ID of the player that an NPC is currently aiming at.

[

## NPC\_GetPlayerMovingTo

](https://omp.itsneufox.com/id/docs/scripting/functions/NPC_GetPlayerMovingTo)

Gets the ID of the player that an NPC is currently moving toward.

[

## NPC\_IsMovingToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/NPC_IsMovingToPlayer)

Checks if an NPC is moving toward a specific player.

[

## NPC\_MoveToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/NPC_MoveToPlayer)

Makes an NPC move toward and follow a player.

[

## NPC\_SetAngleToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/NPC_SetAngleToPlayer)

Rotates an NPC to face a specific player.

[

## OnPickupStreamIn

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPickupStreamIn)

This callback is called when a pickup enters the visual range of a player.

[

## OnPickupStreamOut

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPickupStreamOut)

This callback is called when a pickup leaves the visual range of a player.

[

## OnPlayerClickGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickGangZone)

This callback is called when a player clicked a gangzone on the pause menu map (by right-clicking).

[

## OnPlayerClickMap

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickMap)

OnPlayerClickMap akan terpanggil ketika pemain menaruh target/waypoint saat jeda map menu (dengan cara klik kanan).

[

## OnPlayerClickPlayer

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickPlayer)

Terpanggil ketika pemain mengklik dua kali pemain yang berada di scoreboard.

[

## OnPlayerClickPlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickPlayerGangZone)

This callback is called when a player clicked a player gangzone on the pause menu map (by right-clicking).

[

## OnPlayerClickPlayerTextDraw

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickPlayerTextDraw)

Callback ini terpanggil ketika pemain mengklik sebuah player-textdraw.

[

## OnPlayerClickTextDraw

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerClickTextDraw)

Callback ini akan terpanggil ketika pemain mengklik sebuah textraw atau membatalkan 'select' mode dengan tombol ESC.

[

## OnPlayerCommandText

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerCommandText)

Callback ini akan terpanggil ketika pemain memasukkan perintah kedalam chat window klien.

[

## OnPlayerConnect

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerConnect)

Callback ini akan terpangil ketika pemain terhubung kedalam server.

[

## OnPlayerDeath

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerDeath)

Callback ini akan terpanggil ketika pemain mati, entah itu dengan bunuh diri atau terbunuh oleh pemain lain.

[

## OnPlayerDisconnect

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerDisconnect)

Callback ini akan terpanggil ketika pemain keluar dari server.

[

## OnPlayerEditAttachedObject

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEditAttachedObject)

Callback ini terpanggil ketika player sudah selesai mengedit attached object dengan edit mode.

[

## OnPlayerEditObject

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEditObject)

This callback is called when a player finishes editing an object (BeginObjectEditing/BeginPlayerObjectEditing).

[

## OnPlayerEnterCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEnterCheckpoint)

Callback ini terpanggil ketika seorang pemain memasuki checkpoint untuk pemain itu.

[

## OnPlayerEnterGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEnterGangZone)

This callback is called when a player enters a gangzone

[

## OnPlayerEnterPlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEnterPlayerGangZone)

This callback is called when a player enters a player gangzone

[

## OnPlayerEnterRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEnterRaceCheckpoint)

This callback is called when a player enters a race checkpoint.

[

## OnPlayerEnterVehicle

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerEnterVehicle)

Callback Ini di panggil ketika pemain mulai memasuki kendaraan, artinya pemain belum berada di kendaraan pada saat callback ini dipanggil.

[

## OnPlayerExitedMenu

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerExitedMenu)

This callback is called when a player exits a menu.

[

## OnPlayerExitVehicle

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerExitVehicle)

Callback ini di panggil ketika pemain mulai keluar dari kendaraan.

[

## OnPlayerFinishedDownloading

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerFinishedDownloading)

callback ini memanggil jika player sudah selesai mendownload custom models.

[

## OnPlayerGiveDamage

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerGiveDamage)

This callback is called when a player gives damage to another player.

[

## OnPlayerGiveDamageActor

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerGiveDamageActor)

This callback is called when a player gives damage to an actor.

[

## OnPlayerInteriorChange

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerInteriorChange)

This callback is called when a player changes interior.

[

## OnPlayerKeyStateChange

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerKeyStateChange)

This callback is called when the state of any supported key is changed (pressed/released).

[

## OnPlayerLeaveCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerLeaveCheckpoint)

This callback is called when a player leaves the checkpoint set for them by SetPlayerCheckpoint.

[

## OnPlayerLeaveGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerLeaveGangZone)

This callback is called when a player exited a gangzone

[

## OnPlayerLeavePlayerGangZone

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerLeavePlayerGangZone)

This callback is called when a player exited a player gangzone

[

## OnPlayerLeaveRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerLeaveRaceCheckpoint)

This callback is called when a player leaves the race checkpoint.

[

## OnPlayerObjectMoved

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerObjectMoved)

Callback ini dipanggil ketika objek pemain dipindahkan setelah MovePlayerObject (ketika berhenti bergerak).

[

## OnPlayerPickUpPickup

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerPickUpPickup)

Callback ini dipanggil ketika pemain mengambil pickup yang dibuat dengan CreatePickup.

[

## OnPlayerPickUpPlayerPickup

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerPickUpPlayerPickup)

This callback is called when a player picks up a player-pickup created with CreatePlayerPickup.

[

## OnPlayerPickupStreamIn

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerPickupStreamIn)

This callback is called when a player-pickup enters the visual range of the player.

[

## OnPlayerPickupStreamOut

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerPickupStreamOut)

This callback is called when a player-pickup leaves the visual range of the player.

[

## OnPlayerRequestClass

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerRequestClass)

Callback ini akan terpanggil ketika seorang pemain mengubah kelas pada pemilihan kelas (dan saat pemilihan kelas pertama kali muncul).

[

## OnPlayerRequestDownload

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerRequestDownload)

This callback is called when a player request for custom model downloads.

[

## OnPlayerRequestSpawn

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerRequestSpawn)

This callback is called when a player attempts to spawn via class selection either by pressing SHIFT or clicking the 'Spawn' button.

[

## OnPlayerSelectedMenuRow

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerSelectedMenuRow)

This callback is called when a player selects an item from a menu (ShowMenuForPlayer).

[

## OnPlayerSelectObject

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerSelectObject)

This callback is called when a player selects an object after BeginObjectSelecting has been used.

[

## OnPlayerSpawn

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerSpawn)

Callback ini akan terpanggil ketika pemain spawn.

[

## OnPlayerStateChange

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerStateChange)

Callback ini akan terpanggil ketika pemain melakukan perubahan status.

[

## OnPlayerStreamIn

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerStreamIn)

Callback ini akan terpanggil ketika pemain lain berada di jangkauan stream dari klien pemain.

[

## OnPlayerStreamOut

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerStreamOut)

Callback ini akan terpanggil ketika pemain lain keluar dari jangkauan stream dari klien pemain.

[

## OnPlayerTakeDamage

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerTakeDamage)

Callback ini terpanggil ketika pemain menerima damage.

[

## OnPlayerText

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerText)

Callback ini akan terpanggil ketika pemain mengirimkan pesan chat.

[

## OnPlayerUpdate

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerUpdate)

Callback ini akan terpanggil ketika klien/pemain memperbarui server dengan statusnya.

[

## OnPlayerWeaponShot

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnPlayerWeaponShot)

Callback ini di panggil ketika seorang pemain melepaskan tembakan dari senjata.

[

## OnScriptLoadPlayer

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnScriptLoadPlayer)

This callback is called for each connected player when a script is loaded.

[

## OnScriptUnloadPlayer

](https://omp.itsneufox.com/id/docs/scripting/callbacks/OnScriptUnloadPlayer)

This callback is called for each connected player when a script is unloaded.

[

## PlayAudioStreamForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayAudioStreamForPlayer)

Play an 'audio stream' for a player.

[

## PlayCrimeReportForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayCrimeReportForPlayer)

This function plays a crime report for a player - just like in single-player when CJ commits a crime.

[

## Player States

](https://omp.itsneufox.com/id/docs/scripting/resources/playerstates)

A list of all the player states used by GetPlayerState function or OnPlayerStateChange callback.

[

## PlayerGangZoneDestroy

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneDestroy)

Destroy player gangzone

[

## PlayerGangZoneFlash

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneFlash)

Start player gangzone flash

[

## PlayerGangZoneGetColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneGetColour)

Get the colour of a player gangzone

[

## PlayerGangZoneGetFlashColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneGetFlashColour)

Get the flashing colour of a player gangzone

[

## PlayerGangZoneGetPos

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneGetPos)

Get the position of a gangzone, represented by minX, minY, maxX, maxY coordinates

[

## PlayerGangZoneHide

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneHide)

Hide player gangzone

[

## PlayerGangZoneShow

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneShow)

Show player gangzone in a color

[

## PlayerGangZoneStopFlash

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerGangZoneStopFlash)

Stop player gangzone flash

[

## PlayerHasClockEnabled

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerHasClockEnabled)

Checks whether the player has their in-game clock enabled.

[

## PlayerPlaySound

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerPlaySound)

Plays the specified sound for a player.

[

## PlayerSpectatePlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerSpectatePlayer)

Makes a player spectate (watch) another player.

[

## PlayerSpectateVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerSpectateVehicle)

Sets a player to spectate another vehicle.

[

## PlayerTextDrawAlignment

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawAlignment)

Set the text alignment of a player-textdraw.

[

## PlayerTextDrawBackgroundColor

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawBackgroundColor)

Adjust the background color of a player-textdraw.

[

## PlayerTextDrawBackgroundColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawBackgroundColour)

Adjust the background colour of a player-textdraw.

[

## PlayerTextDrawBoxColor

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawBoxColor)

Sets the color of a textdraw's box (PlayerTextDrawUseBox).

[

## PlayerTextDrawBoxColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawBoxColour)

Sets the colour of a textdraw's box (PlayerTextDrawUseBox ).

[

## PlayerTextDrawColor

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawColor)

Sets the text color of a player-textdraw.

[

## PlayerTextDrawColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawColour)

Sets the text colour of a player-textdraw.

[

## PlayerTextDrawDestroy

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawDestroy)

Destroy a player-textdraw.

[

## PlayerTextDrawFont

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawFont)

Change the font of a player-textdraw.

[

## PlayerTextDrawGetAlignment

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetAlignment)

Gets the text alignment of a player-textdraw.

[

## PlayerTextDrawGetBackgroundCol

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetBackgroundCol)

Gets the background color of a player-textdraw

[

## PlayerTextDrawGetBackgroundColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetBackgroundColour)

Gets the background colour of a player-textdraw

[

## PlayerTextDrawGetBoxColor

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetBoxColor)

Gets the box color of a player-textdraw

[

## PlayerTextDrawGetBoxColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetBoxColour)

Gets the box colour of a player-textdraw

[

## PlayerTextDrawGetColor

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetColor)

Gets the text color of a player-textdraw

[

## PlayerTextDrawGetColour

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetColour)

Gets the text colour of a player-textdraw

[

## PlayerTextDrawGetFont

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetFont)

Gets the text font of a player-textdraw.

[

## PlayerTextDrawGetLetterSize

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetLetterSize)

Gets the width and height of the letters.

[

## PlayerTextDrawGetOutline

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetOutline)

Get the outline size on a player-textdraw.

[

## PlayerTextDrawGetPos

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetPos)

Gets the position of a player-textdraw.

[

## PlayerTextDrawGetPreviewModel

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetPreviewModel)

Gets the preview model of a 3D preview player-textdraw.

[

## PlayerTextDrawGetPreviewRot

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetPreviewRot)

Gets the rotation and zoom of a 3D model preview player-textdraw.

[

## PlayerTextDrawGetPreviewVehCol

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetPreviewVehCol)

Gets the preview vehicle colors of a 3D preview player-textdraw.

[

## PlayerTextDrawGetPreviewVehicleColours

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetPreviewVehicleColours)

Gets the preview vehicle colors of a 3D preview player-textdraw.

[

## PlayerTextDrawGetShadow

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetShadow)

Get the shadow size on a player-textdraw.

[

## PlayerTextDrawGetString

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetString)

Gets the text of a player-textdraw.

[

## PlayerTextDrawGetTextSize

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawGetTextSize)

Gets the X axis and Y axis of the player-textdraw text size.

[

## PlayerTextDrawHide

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawHide)

Hide a player-textdraw from the player it was created for.

[

## PlayerTextDrawIsBox

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawIsBox)

Checks if a player-textdraw is box.

[

## PlayerTextDrawIsProportional

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawIsProportional)

Checks if a player-textdraw is proportional.

[

## PlayerTextDrawIsSelectable

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawIsSelectable)

Checks if a player-textdraw is selectable.

[

## PlayerTextDrawLetterSize

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawLetterSize)

Sets the width and height of the letters in a player-textdraw.

[

## PlayerTextDrawSetOutline

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetOutline)

Set the outline of a player-textdraw.

[

## PlayerTextDrawSetPos

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetPos)

Sets the position of a player-textdraw.

[

## PlayerTextDrawSetPreviewModel

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetPreviewModel)

Sets a player textdraw 3D preview sprite of a specified model ID.

[

## PlayerTextDrawSetPreviewRot

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetPreviewRot)

Sets the rotation and zoom of a 3D model preview player-textdraw.

[

## PlayerTextDrawSetPreviewVehCol

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetPreviewVehCol)

Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).

[

## PlayerTextDrawSetPreviewVehicleColours

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetPreviewVehicleColours)

Set the colour of a vehicle in a player-textdraw model preview (if a vehicle is shown).

[

## PlayerTextDrawSetProportional

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetProportional)

Appears to scale text spacing to a proportional ratio.

[

## PlayerTextDrawSetSelectable

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetSelectable)

Toggles whether a player-textdraw can be selected or not.

[

## PlayerTextDrawSetShadow

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetShadow)

Adds a shadow to the bottom-right side of the text in a player-textdraw.

[

## PlayerTextDrawSetString

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawSetString)

Change the text of a player-textdraw.

[

## PlayerTextDrawShow

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawShow)

Show a player-textdraw to the player it was created for.

[

## PlayerTextDrawTextSize

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawTextSize)

Change the size of a player-textdraw (box if PlayerTextDrawUseBox is enabled and/or clickable area for use with PlayerTextDrawSetSelectable).

[

## PlayerTextDrawUseBox

](https://omp.itsneufox.com/id/docs/scripting/functions/PlayerTextDrawUseBox)

Toggle the box on a player-textdraw.

[

## PutPlayerInVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/PutPlayerInVehicle)

Puts a player in a vehicle.

[

## Record Types

](https://omp.itsneufox.com/id/docs/scripting/resources/recordtypes)

Record types used by StartRecordingPlayerData.

[

## RemoveBuildingForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/RemoveBuildingForPlayer)

Removes a standard San Andreas model for a single player within a specified range.

[

## RemovePlayerAttachedObject

](https://omp.itsneufox.com/id/docs/scripting/functions/RemovePlayerAttachedObject)

Remove an attached object from a player.

[

## RemovePlayerFromVehicle

](https://omp.itsneufox.com/id/docs/scripting/functions/RemovePlayerFromVehicle)

Removes/ejects a player from their vehicle.

[

## RemovePlayerMapIcon

](https://omp.itsneufox.com/id/docs/scripting/functions/RemovePlayerMapIcon)

Removes a map icon that was set earlier for a player using SetPlayerMapIcon.

[

## RemovePlayerWeapon

](https://omp.itsneufox.com/id/docs/scripting/functions/RemovePlayerWeapon)

Remove a specified weapon from a player.

[

## ResetPlayerMoney

](https://omp.itsneufox.com/id/docs/scripting/functions/ResetPlayerMoney)

Reset a player's money to $0.

[

## ResetPlayerWeapons

](https://omp.itsneufox.com/id/docs/scripting/functions/ResetPlayerWeapons)

Removes all weapons from a player.

[

## SendDeathMessageToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SendDeathMessageToPlayer)

Adds a death to the 'killfeed' on the right-hand side of the screen for a single player.

[

## SendPlayerMessageToAll

](https://omp.itsneufox.com/id/docs/scripting/functions/SendPlayerMessageToAll)

Sends a message in the name of a player to all other players on the server.

[

## SendPlayerMessageToPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SendPlayerMessageToPlayer)

Sends a message in the name of a player to another player on the server.

[

## SetCameraBehindPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SetCameraBehindPlayer)

Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.

[

## SetPickupForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPickupForPlayer)

Adjusts the pickup model, type, and position for a specific player.

[

## SetPlayer3DTextLabelVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayer3DTextLabelVirtualWorld)

Sets the player's 3D text label virtual world id.

[

## SetPlayerAdmin

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerAdmin)

Sets the player as an RCON admin.

[

## SetPlayerAmmo

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerAmmo)

Set the ammo of a player's weapon.

[

## SetPlayerArmedWeapon

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerArmedWeapon)

Sets which weapon (that a player already has) the player is holding.

[

## SetPlayerArmour

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerArmour)

Set a player's armor level.

[

## SetPlayerAttachedObject

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerAttachedObject)

Attach an object to a specific bone on a player.

[

## SetPlayerCameraLookAt

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerCameraLookAt)

Set the direction a player's camera looks at.

[

## SetPlayerCameraPos

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerCameraPos)

Sets the camera to a specific position for a player.

[

## SetPlayerChatBubble

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerChatBubble)

Creates a chat bubble above a player's name tag.

[

## SetPlayerCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerCheckpoint)

Sets a checkpoint (red cylinder) for a player.

[

## SetPlayerColor

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerColor)

Set the colour of a player's nametag and marker (radar blip).

[

## SetPlayerDrunkLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerDrunkLevel)

Sets the drunk level of a player which makes the player's camera sway and vehicles hard to control.

[

## SetPlayerFacingAngle

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerFacingAngle)

Set a player's facing angle (Z rotation).

[

## SetPlayerFightingStyle

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerFightingStyle)

Set a player's special fighting style.

[

## SetPlayerGravity

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerGravity)

Set a player's gravity.

[

## SetPlayerHealth

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerHealth)

Set the health of a player.

[

## SetPlayerHoldingObject

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerHoldingObject)

Attaches an object to a bone.

[

## SetPlayerInterior

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerInterior)

Set a player's interior.

[

## SetPlayerMapIcon

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerMapIcon)

Place an icon/marker on a player's map.

[

## SetPlayerMarkerForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerMarkerForPlayer)

Change the colour of a player's nametag and radar blip for another player.

[

## SetPlayerName

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerName)

Sets the name of a player.

[

## SetPlayerObjectMaterial

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectMaterial)

Replace the texture of a player-object with the texture from another model in the game.

[

## SetPlayerObjectMaterialText

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectMaterialText)

Replace the texture of a player object with text.

[

## SetPlayerObjectMoveSpeed

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectMoveSpeed)

Set the move speed of a player-object.

[

## SetPlayerObjectNoCameraCol

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectNoCameraCol)

Toggles a player object camera collision.

[

## SetPlayerObjectNoCameraCollision

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectNoCameraCollision)

Toggles a player object camera collision.

[

## SetPlayerObjectPos

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectPos)

Sets the position of a player-object to the specified coordinates.

[

## SetPlayerObjectRot

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerObjectRot)

Set the rotation of an object on the X, Y and Z axis.

[

## SetPlayerPickupModel

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPickupModel)

Sets the model of a player-pickup.

[

## SetPlayerPickupPos

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPickupPos)

Sets the position of a player-pickup.

[

## SetPlayerPickupType

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPickupType)

Sets the type of a player-pickup.

[

## SetPlayerPickupVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPickupVirtualWorld)

Sets the virtual world ID of a player-pickup.

[

## SetPlayerPos

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPos)

Set a player's position.

[

## SetPlayerPosFindZ

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerPosFindZ)

This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.

[

## SetPlayerRaceCheckpoint

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerRaceCheckpoint)

Creates a race checkpoint.

[

## SetPlayerScore

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerScore)

Set a player's score.

[

## SetPlayerShopName

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerShopName)

Loads or unloads an interior script for a player (for example the ammunation menu).

[

## SetPlayerSkillLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerSkillLevel)

Set the skill level of a certain weapon type for a player.

[

## SetPlayerSkin

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerSkin)

Set the skin of a player.

[

## SetPlayerSpecialAction

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerSpecialAction)

This function allows to set players special action.

[

## SetPlayerTeam

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerTeam)

Set the team of a player.

[

## SetPlayerTime

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerTime)

Sets the game time for a player.

[

## SetPlayerVelocity

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerVelocity)

Set a player's velocity on the X, Y and Z axes.

[

## SetPlayerVirtualWorld

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerVirtualWorld)

Set the virtual world of a player.

[

## SetPlayerWantedLevel

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerWantedLevel)

Set a player's wanted level (6 brown stars under HUD).

[

## SetPlayerWeather

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerWeather)

Set a player's weather.

[

## SetPlayerWorldBounds

](https://omp.itsneufox.com/id/docs/scripting/functions/SetPlayerWorldBounds)

Set the world boundaries for a player.

[

## SetSpawnInfo

](https://omp.itsneufox.com/id/docs/scripting/functions/SetSpawnInfo)

This function can be used to change the spawn information of a specific player.

[

## SetVehicleParamsForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SetVehicleParamsForPlayer)

Set the parameters of a vehicle for a player.

[

## ShowMenuForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowMenuForPlayer)

Shows a previously created menu for a player.

[

## ShowObjectForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowObjectForPlayer)

Show an object for a player.

[

## ShowPickupForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowPickupForPlayer)

Shows a pickup for a specific player.

[

## ShowPlayerDialog

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowPlayerDialog)

Shows the player a synchronous (only one at a time) dialog box.

[

## ShowPlayerMarkers

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowPlayerMarkers)

Toggles player markers (blips on the radar).

[

## ShowPlayerNameTagForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/ShowPlayerNameTagForPlayer)

This functions allows you to toggle the drawing of player nametags, healthbars and armor bars which display above their head.

[

## SpawnPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/SpawnPlayer)

(Re)Spawns a player.

[

## Special Actions

](https://omp.itsneufox.com/id/docs/scripting/resources/specialactions)

A list of all the player special actions used by GetPlayerSpecialAction and SetPlayerSpecialAction functions.

[

## StartRecordingPlayerData

](https://omp.itsneufox.com/id/docs/scripting/functions/StartRecordingPlayerData)

Starts recording a player's movements to a file, which can then be reproduced by an NPC.

[

## StopAudioStreamForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/StopAudioStreamForPlayer)

Stops the current audio stream for a player.

[

## StopPlayerHoldingObject

](https://omp.itsneufox.com/id/docs/scripting/functions/StopPlayerHoldingObject)

Removes attached objects.

[

## StopPlayerObject

](https://omp.itsneufox.com/id/docs/scripting/functions/StopPlayerObject)

Stop a moving player-object after MovePlayerObject has been used.

[

## StopRecordingPlayerData

](https://omp.itsneufox.com/id/docs/scripting/functions/StopRecordingPlayerData)

Stops all the recordings that had been started with StartRecordingPlayerData for a specific player.

[

## TextDrawHideForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/TextDrawHideForPlayer)

Hides a textdraw for a specific player.

[

## TextDrawShowForPlayer

](https://omp.itsneufox.com/id/docs/scripting/functions/TextDrawShowForPlayer)

Shows a textdraw for a specific player.

[

## TogglePlayerClock

](https://omp.itsneufox.com/id/docs/scripting/functions/TogglePlayerClock)

Toggle the in-game clock (top-right corner) for a specific player.

[

## TogglePlayerControllable

](https://omp.itsneufox.com/id/docs/scripting/functions/TogglePlayerControllable)

Toggles whether a player can control their character or not.

[

## TogglePlayerGhostMode

](https://omp.itsneufox.com/id/docs/scripting/functions/TogglePlayerGhostMode)

Toggle player's ghost mode.

[

## TogglePlayerSpectating

](https://omp.itsneufox.com/id/docs/scripting/functions/TogglePlayerSpectating)

Toggle whether a player is in spectator mode or not.

[

## TogglePlayerWidescreen

](https://omp.itsneufox.com/id/docs/scripting/functions/TogglePlayerWidescreen)

Toggle player's widescreen.

[

## UpdatePlayer3DTextLabelText

](https://omp.itsneufox.com/id/docs/scripting/functions/UpdatePlayer3DTextLabelText)

Updates a player 3D Text Label's text and color.

[

## UseGangZoneCheck

](https://omp.itsneufox.com/id/docs/scripting/functions/UseGangZoneCheck)

Enables the callback when a player enters/leaves this zone

[

## UsePlayerGangZoneCheck

](https://omp.itsneufox.com/id/docs/scripting/functions/UsePlayerGangZoneCheck)

Enables the callback when a player enters/leaves this zone

[

## UsePlayerPedAnims

](https://omp.itsneufox.com/id/docs/scripting/functions/UsePlayerPedAnims)

Uses standard player walking animation (animation of the CJ skin) instead of custom animations for every skin (e.g. skating for skater skins).
