Skip to content

Constants

Freaksken edited this page Jun 25, 2018 · 5 revisions

HomeConstants

Don't try to change these constants. If you do, you might break the plugin.

#define FCNPC_INCLUDE_VERSION		The current FCNPC include version.

#define FCNPC_MOVE_TYPE_AUTO		(-1)
#define FCNPC_MOVE_TYPE_WALK		(0)
#define FCNPC_MOVE_TYPE_RUN		(1)
#define FCNPC_MOVE_TYPE_SPRINT		(2)
#define FCNPC_MOVE_TYPE_DRIVE		(3)

#define FCNPC_MOVE_MODE_AUTO		(-1)
#define FCNPC_MOVE_MODE_NONE		(0)
#define FCNPC_MOVE_MODE_MAPANDREAS	(1)

#define FCNPC_MOVE_SPEED_AUTO		(-1.0)
#define FCNPC_MOVE_SPEED_WALK		(0.1552086)
#define FCNPC_MOVE_SPEED_RUN		(0.56444)
#define FCNPC_MOVE_SPEED_SPRINT		(0.926784)

#define FCNPC_MAX_NODES			(64)

#define FCNPC_INVALID_MOVEPATH_ID	(-1)
#define FCNPC_INVALID_RECORD_ID		(-1)
FCNPC_DISABLE_VERSION_CHECK

If you don't want FCNPC to check for new releases and notify you when there is a new version available, add #define FCNPC_DISABLE_VERSION_CHECK before #include <FCNPC>.