SetPedSkin: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Needs example)
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Deprecated}}
{{Server client function}}
{{Server client function}}
This function changes the skin of a ped.
This function changes the skin of a ped.

Revision as of 20:53, 23 February 2010


Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does.

This function changes the skin of a ped.

Syntax

bool setPedSkin ( ped thePed, int skinID )

Required Arguments

  • thePed: The ped whose model will be changed.
  • skinID: A GTASA player model (skin) ID. See Character Skins.

Example

See Also