forked from CBATeam/CBA_A3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request CBATeam#1350 from Fusselwurm/patch-1
add CBA_fnc_hashValues
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#include "script_component.hpp" | ||
#include "script_hashes.hpp" | ||
/* ---------------------------------------------------------------------------- | ||
Function: CBA_fnc_hashValues | ||
Description: | ||
Returns all values in a Hash. | ||
See <CBA_fnc_hashCreate>. | ||
Parameters: | ||
_hash - Hash to get values for [Array which is a Hash structure] | ||
Returns: | ||
Array of all values [Array] | ||
Author: | ||
Fusselwurm | ||
---------------------------------------------------------------------------- */ | ||
SCRIPT(hashValues); | ||
|
||
// ----------------------------------------------------------------------------- | ||
params [["_hash", [[], []], [[]]]]; | ||
|
||
+(_hash select HASH_VALUES) |