GetPlayerSkin

From Multi Theft Auto: Wiki
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