SetPlayerClothingPreset
From Onset Developer Wiki
Description
This function sets a predefined clothing preset on a player. This is for people who are not interested in setting each clothing item ClothingExample.
Syntax
SetPlayerClothingPreset(player, clothing_preset)
Parameters
- player
The player identifier. - clothing_preset
The clothing preset .
Return Value
- Returns true on success.
Example
AddEvent("OnRenderHUD", function()
local x, y, z = GetPlayerLocation()
AddPlayerChat("Player location: "..x..", "..y..", "..z)
end)