mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
2ef6790a8f
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.
27 lines
672 B
Plaintext
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;
|