GetPlayerSkin: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
JonChappell (talk | contribs) m (→Example) |
||
Line 10: | Line 10: | ||
==Example== | ==Example== | ||
if ([[spawnPlayer]] ( player, 1000, 1000, 1000, 90, 650 ) ) | if ([[spawnPlayer]] ( player, 1000, 1000, 1000, 90, 650 ) ) | ||
[[serverChat]] ( "Player's skin ID is: ", [[getPlayerSkin]] (player) ) | [[serverChat]] ( "Player's skin ID is: ", [[getPlayerSkin]] (player) ) | ||
end | end |
Revision as of 09:48, 15 April 2006
Description
This function returns an integer containing the ID number of the selected player's skin.
Syntax
int getPlayerSkin ( player player )
Required Arguments
- player: The player whose skin you want to retrieve.
Example
if (spawnPlayer ( player, 1000, 1000, 1000, 90, 650 ) ) serverChat ( "Player's skin ID is: ", getPlayerSkin (player) ) end