• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Many warnings related to types or...?
#3
Ignore 't_' and search for 'CP_TYPE' in open.mp's libraries and you will find it.

Code:
enum CP_TYPE:__CP_TYPE
{
UNKNOWN_CP_TYPE                            = -1,
CP_TYPE_GROUND_NORMAL                      = 0,
CP_TYPE_GROUND_FINISH                      = 1,
CP_TYPE_GROUND_EMPTY                      = 2,
CP_TYPE_AIR_NORMAL                        = 3,
CP_TYPE_AIR_FINISH                        = 4,
CP_TYPE_AIR_ROTATING                      = 5,
CP_TYPE_AIR_STROBING                      = 6,
CP_TYPE_AIR_SWINGING                      = 7,
CP_TYPE_AIR_BOBBING                        = 8
}

(2024-01-06, 12:32 AM)Mido Wrote: That's just how things are now.

About the player race checkpoint just add `CP_TYPE:` before the checkpoint type parameter.

Code:
SetPlayerRaceCheckpoint(playerid, CP_TYPE:1, ...);

??? just search for the right checkpoint type
  Reply


Messages In This Thread
RE: Many warnings related to types or...? - by Verc - 2024-01-06, 02:40 AM

Forum Jump: