SetPlayerOutline

From Onset Developer Wiki
Revision as of 15:34, 16 November 2019 by 28days (talk | contribs)
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__