1.8.7 player_switchWeapon updates

This commit is contained in:
ebaydayz
2016-03-03 21:31:32 -05:00
parent e660704f97
commit 479097e7a8
37 changed files with 1883 additions and 202 deletions

View File

@@ -0,0 +1,19 @@
/* Provides means for passing objects by reference.
Reference cannot point to itself or create a loop of references.
Author: Foxy
*/
#ifndef _INCLUDE_GUARD_REFERENCE
#define _INCLUDE_GUARD_REFERENCE
//Initializes a new reference pointing to the specified object.
#define Ref_New(val) [val]
//Retrieves the object pointed to by the reference.
#define Ref_Get(ref) ((ref) select 0)
//Sets the reference to point to the specified object.
#define Ref_Set(ref, val) ((ref) set [0, val])
#endif