SetPlayerSkin: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Removed Template:Needs_Checking: The function works, the player argument is there to allow changing other player's appearance locally. Removed serverside example, it's a client function.) |
||
Line 1: | Line 1: | ||
{{Client function}} | {{Client function}} | ||
__NOTOC__ | __NOTOC__ | ||
This function changes the skin of a player. | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool setPlayerSkin ( player thePlayer, int | <syntaxhighlight lang="lua"> | ||
bool setPlayerSkin ( player thePlayer, int skinID ) | |||
</syntaxhighlight> | |||
===Required Arguments=== | ===Required Arguments=== | ||
*'''thePlayer:''' | *'''thePlayer:''' The [[player]] whose model will be changed. | ||
*''' | *'''skinID:''' A GTASA player model (skin) ID. See [[Character Skins]]. | ||
==Example== | ==Example== | ||
==See Also== | ==See Also== | ||
{{Player functions}} | {{Player functions}} |
Revision as of 01:48, 12 September 2007
This function changes the skin of a player.
Syntax
bool setPlayerSkin ( player thePlayer, int skinID )
Required Arguments
- thePlayer: The player whose model will be changed.
- skinID: A GTASA player model (skin) ID. See Character Skins.
Example
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState