Retrieves the name of an
Object.
Code cpp:
VAULTSCRIPT VAULTSPACE cRawString (*VAULTAPI(GetName))(VAULTSPACE ID) VAULTCPP(noexcept);
Code c:
native GetName(ID, name{});
ID - the ID of the
Object
name (PAWN only) - an array large enough to hold at least
MAX_PLAYER_NAME characters. Note that
Objects which are not
Players can have longer names.
The C++ version returns a
cRawString. The PAWN version has no return value.