Squirrel/Server/Functions/Misc/GetBodyPartName

From Liberty Unleashed Wiki
Revision as of 02:37, 7 January 2010 by Force (Talk | contribs)

Jump to: navigation, search

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