Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
bloodyhands.c
Go to the documentation of this file.
2{
3 string m_Materials[2];
4
5 const int MATERIAL_TYPE_NORMAL = 0;
6 const int MATERIAL_TYPE_BLOODY = 1;
7
8 void BloodyHands( string normal_material, string bloody_material )
9 {
10 m_Materials[MATERIAL_TYPE_NORMAL] = normal_material;
11 m_Materials[MATERIAL_TYPE_BLOODY] = bloody_material;
12 }
13
14 string GetMaterial( int material_type )
15 {
16 return m_Materials[material_type];
17 }
18
19 void SetMaterial( int material_type, string material )
20 {
21 m_Materials[material_type] = material;
22 }
23
24}