Squirrel/Server/Functions/Misc/GetBodyPartName
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|GetBodyPartName}} | |
This function returns a name for the given bodypart. | This function returns a name for the given bodypart. | ||
Revision as of 10:34, 11 October 2010
This function returns a name for the given bodypart.
Syntax
string GetBodyPartName( int iBodyPart )
Arguments
- iBodyPart - The ID of the bodypart in question
Example
function onPlayerCommand( player, command, text ) { if ( command == "bodypart" ) GetBodyPartName( text.tointeger() ) }
Notes
This function is used to get the body part name of the given integer.
Related Functions
- BanIP
- BanPlayer
- BanLUID
- UnbanLUID
- UnbanName
- GetBodyPartName
- GetDistrictName
- KickPlayer
- SendRconCommand
- UnbanIP