mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[server] Implement/match CPlayer::SetCheckpoint(...)
This commit is contained in:
parent
3fc732d05c
commit
9dfa35f439
@ -25,6 +25,16 @@ void CPlayer::SetSpawnInfo(PLAYER_SPAWN_INFO *pSpawn)
|
||||
|
||||
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CPlayer::SetCheckpoint(float fX, float fY, float fZ, float fSize)
|
||||
{
|
||||
m_vecCheckpoint.X = fX;
|
||||
m_vecCheckpoint.Y = fY;
|
||||
m_vecCheckpoint.Z = fZ;
|
||||
m_fCheckpointSize = fSize;
|
||||
ToggleCheckpoint(TRUE);
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
|
@ -199,6 +199,7 @@ public:
|
||||
|
||||
void SetSpawnInfo(PLAYER_SPAWN_INFO *pSpawn);
|
||||
|
||||
void SetCheckpoint(float fX, float fY, float fZ, float fSize);
|
||||
void ToggleCheckpoint(BOOL bEnabled);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user