Epoch/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf
He-Man 2ef6790a8f Defuse Bomb / Itemdisplayname
Moving "Epoch_Itemdisplayname" also to server will rename it to "EPOCH_fnc_Itemdisplayname", so we now only link to the new function.
Means, that you can now use:
Client side:
"EPOCH_Itemdisplayname" or "EPOCH_fnc_Itemdisplayname"
Server side:
"EPOCH_fnc_Itemdisplayname"
So no eventually third-party scripts will take effect.
2019-01-11 15:32:00 +01:00

27 lines
672 B
Plaintext

/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Returns the DisplayName of a Vehicle, Weapon, or Magazine.
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/functions/EPOCH_itemDisplayName.sqf
Example:
_displayName = _part call EPOCH_itemDisplayName;
Parameter(s):
_this: STRING - Vehicle, Weapon, or Magazine config class name
Returns:
STRING
*/
// Changed function name for usage Server and Client side
_this call EPOCH_fnc_itemDisplayName;