View difference between Paste ID: FYqrtanh and rW1qRPC4
SHOW: | | - or go back to the newest paste.
1
/*
2
////////////////////////////////////////////////////////////////////
3
//================================================================//
4
//== New Player Callbacks defines include made by BigETI © 2011 ==//
5
//================================================================//
6
//== You are not allowed to release this include =================//
7
//== without my permissions! =====================================//
8
//================================================================//
9
//== File name: ncbs_defines.inc =================================//
10
//== Autor: Ethem Kurt © =========================================//
11-
//== Release Date: 27.09.2011 ====================================//
11+
//== Release Date: 29.10.2011 ====================================//
12-
//== Version: V1.4 ===============================================//
12+
//== Version: V1.5 ===============================================//
13-
//== Lines: 60 ===================================================//
13+
//== Lines: 62 ===================================================//
14-
//== File size: 5,34 KB ==========================================//
14+
//== File size: 5,59 KB ==========================================//
15
//================================================================//
16
////////////////////////////////////////////////////////////////////
17
*/
18
#if defined _BIGETI_NPCBS_DEFINES
19
	#endinput
20
#endif
21
#define _BIGETI_NPCBS_DEFINES
22
/*
23
||======================================================================================================================||
24
||	IMPORTANT: Define FILTERSCRIPT on top of your script to verify if you are yousing a filterscript or a gamemode!     ||
25
||	If you have changed any parameters below, so recompile all of your scripts using the New Player Callbacks include.  ||
26
||======================================================================================================================||
27
*/
28
29
//Just comment a define if you don't need it. Otherwise uncomment.
30
31
#define USE_IN_ALL_SCRIPTS				//Used to call the callbacks in all scripts else the callbacks gets only called where the include got included.
32
#define USE_OPU_DELAY					//Uses a delay at OnPlayerUpdate to prevent totally overkill (Usefull for anti cheats but the callbacks may get slower!)
33
//#define USE_OPU_SECONDS				//Callbacks delays >1 seconds otherwise they delays for >1 milliseconds. (Uncomment USE_OPU_DELAY to make this usable!) [Optional]
34
#define USE_PLAYER_CALLBACKS			//Makes the use of extended player callbacks.
35
//#define USE_PVAR_CALLBACKS			//Makes the use of PVar callbacks (Uncomment this if you want to use PVar Callbacks) [Optional]
36
#define CB_OnPlayerEnteredVehicle		//Makes the use of OnPlayerEnteredVehicle (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
37
#define CB_OnPlayerExitedVehicle		//Makes the use of OnPlayerExitedVehicle (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
38
#define CB_OnPlayerSkinChange			//Makes the use of OnPlayerSkinChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
39
#define CB_OnPlayerHoldWeaponChange		//Makes the use of OnPlayerHoldWeaponChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
40
#define CB_OnPlayerWeaponStateChange	//Makes the use of OnPlayerWeaponStateChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
41
#define USE_WEAPON_DATA_CALLBACKS		//Makes the use of weapon data callbacks
42
#define CB_OnPlayerWeaponDataChange		//Makes the use of OnPlayerWeaponDataChange (Uncomment USE_PLAYER_CALLBACKS and USE_WEAPON_DATA_CALLBACKS to make this usable!)
43
#define CB_OnPlayerAmmoDataChange		//Makes the use of OnPlayerAmmoDataChange (Uncomment USE_PLAYER_CALLBACKS and USE_WEAPON_DATA_CALLBACKS to make this usable!)
44
#define CB_OnPlayerMoneyChange			//Makes the use of OnPlayerMoneyChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
45
#define CB_OnPlayerHealthChange			//Makes the use of OnPlayerHealthChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
46
#define CB_OnPlayerArmourChange			//Makes the use of OnPlayerArmourChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
47
#define CB_OnPlayerAnimationIndexChange	//Makes the use of OnPlayerAnimationIndexChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
48
#define CB_OnPlayerTargetPlayer			//Makes the use of OnPlayerTargetPlayer (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
49
#define CB_OnPlayerSpecialActionChange	//Makes the use of OnPlayerSpecialActionChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
50
#define CB_OnPlayerAnalogKeysChange		//Makes the use of OnPlayerAnalogKeysChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
51
#define CB_OnPlayerXYZChange			//Makes the use of OnPlayerXYZChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
52
#define CB_OnPlayerVehicleHealthChange	//Makes the use of OnPlayerVehicleHealthChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
53
#define CB_OnPlayerVirtualWorldChange	//Makes the use of OnPlayerVirtualWorldChange (Uncomment USE_PLAYER_CALLBACKS to make this usable!)
54
#define CB_OnPVarDelete					//Makes the use of OnPVarDelete (Uncomment USE_PVAR_CALLBACKS to make this usable!)
55
#define CB_OnPVarCreate					//Makes the use of OnPVarCreate (Uncomment USE_PVAR_CALLBACKS to make this usable!)
56
#define CB_OnPVarTypeChange				//Makes the use of OnPVarTypeChange (Uncomment USE_PVAR_CALLBACKS to make this usable!)
57
#define CB_OnPVarIntChange				//Makes the use of OnPVarIntChange (Uncomment USE_PVAR_CALLBACKS to make this usable!)
58
#define CB_OnPVarStringChange			//Makes the use of OnPVarStringChange (Uncomment USE_PVAR_CALLBACKS to make this usable!)
59
#define CB_OnPVarFloatChange			//Makes the use of OnPVarFloatChange (Uncomment USE_PVAR_CALLBACKS to make this usable!)
60
61
//Setable defines
62
#define ADD_OPU_DELAY	0				//You can increase/decrease the delay of OnPlayerUpdate by setting this define (0 is standard [means >1 s or ms delay]) (If USE_OPU_SECONDS is defined, then in seconds otherwise in milliseconds)
63