mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[server] Implement/match n_DisablePlayerRaceCheckpoint(...)
This commit is contained in:
parent
162f578667
commit
4599988161
@ -1053,7 +1053,13 @@ params[9]);
|
||||
|
||||
static cell AMX_NATIVE_CALL n_DisablePlayerRaceCheckpoint(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: DisablePlayerRaceCheckpoint
|
||||
CPlayer *pPlayer = pNetGame->GetPlayerPool()->GetAt((PLAYERID)params[1]);
|
||||
if (pPlayer)
|
||||
{
|
||||
pPlayer->ToggleRaceCheckpoint(FALSE);
|
||||
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user