GetPlayerSkin

From Multi Theft Auto: Wiki
Revision as of 09:47, 15 April 2006 by JonChappell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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