SA-MP/saco/game/common.h

29 lines
478 B
C
Raw Normal View History

2023-10-31 21:15:51 +08:00
#pragma once
#include <windows.h>
2024-02-06 22:20:05 +08:00
#define MAX_PLAYERS 1004
2024-02-06 22:08:24 +08:00
#define MAX_VEHICLES 2000
2023-10-31 21:15:51 +08:00
#define PLAYER_PED_SLOTS 210
2024-02-06 22:08:24 +08:00
//-----------------------------------------------------------
typedef unsigned short VEHICLEID;
2024-02-06 22:20:05 +08:00
typedef unsigned short PLAYERID;
2024-02-06 22:08:24 +08:00
typedef struct _VECTOR {
float X,Y,Z;
} VECTOR, *PVECTOR;
2023-10-31 21:15:51 +08:00
typedef struct _MATRIX4X4 {
VECTOR right;
DWORD flags;
VECTOR up;
float pad_u;
VECTOR at;
float pad_a;
VECTOR pos;
float pad_p;
} MATRIX4X4, *PMATRIX4X4;