SetPlayerOutline

From Onset Developer Wiki
SetPlayerOutline

Type: Function
Context: Client
Introduced: v1.0

Description

Creates an outline near the ped.

Syntax

SetPlayerOutline(player [, bEnable])

Parameters

  • player
    The player identifier.
  • bEnable (optional)
    The boolean status

Return Value

  • Noting.

Example

AddEvent("OnPlayerSpawn", function(player)
	SetPlayerOutline(player, true)
	Delay(10000, function(player)
		SetPlayerOutline(player, false)
	end)
end)

See also

__EDIT_ME__