GetBodyPartName

From Liberty Unleashed Wiki
Revision as of 10:34, 11 October 2010 by VRocker (Talk | contribs)

Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function returns a name for the given bodypart.

Syntax

  1. string GetBodyPartName( int iBodyPart )

Arguments

  • iBodyPart - The ID of the bodypart in question

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "bodypart" ) GetBodyPartName( text.tointeger() )
  5. }
  6.  

Notes

This function is used to get the body part name of the given integer.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox