mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 12:46:07 +08:00
[server] Update n_SetPlayerCheckpoint(...)
This commit is contained in:
@ -1036,15 +1036,9 @@ static cell AMX_NATIVE_CALL n_SetPlayerRaceCheckpoint(AMX *amx, cell *params)
|
|||||||
CPlayer *pPlayer = pNetGame->GetPlayerPool()->GetAt((PLAYERID)params[1]);
|
CPlayer *pPlayer = pNetGame->GetPlayerPool()->GetAt((PLAYERID)params[1]);
|
||||||
if (pPlayer)
|
if (pPlayer)
|
||||||
{
|
{
|
||||||
pPlayer->SetRaceCheckpoint(
|
pPlayer->SetRaceCheckpoint(params[2], amx_ctof(params[3]),
|
||||||
params[2],
|
amx_ctof(params[4]), amx_ctof(params[5]), amx_ctof(params[6]),
|
||||||
params[3],
|
amx_ctof(params[7]), amx_ctof(params[8]), amx_ctof(params[9]));
|
||||||
params[4],
|
|
||||||
params[5],
|
|
||||||
params[6],
|
|
||||||
params[7],
|
|
||||||
params[8],
|
|
||||||
params[9]);
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user