Wiki

Clone wiki

EFLC-MP LUA / setPlayerProperty

Description

Changes the player skin variation for glasses and hats, if available

Parameters

Int playerId, Int propertId, Int propertyValue
Int playerId

Int propertId: 0 = hats, 1 = glasses

Int propertyValue: 0-99 for variations, -1 to remove.

Return values


Example

#!lua
--Gives the player a motorcycle helmet if available
setPlayerProperty(playerid, 0, 0)

Updated