Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "OnFootSegment.h"
- #include "VehicleSegment.h"
- #include "Utils.h"
- #define PI (314159265/100000000)
- #define TODEGREES (3.14159265359f / 180.0f)
- #define TORADIAN (180.0f / 3.14159265359f)
- #define PLAYER_RECORDING_TYPE_NONE 0
- #define PLAYER_RECORDING_TYPE_DRIVER 1
- #define PLAYER_RECORDING_TYPE_ONFOOT 2
- #define RNPC_SPEED_SPRINT 0.0095
- #define RNPC_SPEED_RUN 0.0057
- #define RNPC_SPEED_WALK 0.0015
- //----------------------------------------------------------
- class RNPC // Line 19
- {
- public:
- RNPC();
- int StartBuild(int npcid, int type, int slot, float x, float y, float z);
- int EndBuild(int autoreset);
- int AddMovement(float x1, float y1, float z1, float x2, float y2, float z2, float speed);
- int AddPause(int time);
- int BuildVehicleRecording(int npcid, float x1, float y1, float z1, float x2, float y2, float z2, float speed);
- int updaterate;
- OnFootSegment settings;
- bool buildActive;
- FILE* buildFile;
- int curTime;
- short recMode;
- float acceleration;
- };
- //----------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement