mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[server] Implement and match n_LimitPlayerMarkerRadius(...)
This commit is contained in:
parent
076e7fcf0e
commit
7e810757fa
@ -117,12 +117,20 @@ static cell AMX_NATIVE_CALL n_LimitGlobalChatRadius(AMX *amx, cell *params)
|
||||
return 1;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// native LimitPlayerMarkerRadius(Float:marker_radius)
|
||||
static cell AMX_NATIVE_CALL n_LimitPlayerMarkerRadius(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: LimitPlayerMarkerRadius
|
||||
return 0;
|
||||
float fRadius = amx_ctof(params[1]);
|
||||
|
||||
pNetGame->m_bLimitPlayerMarkerRadius = true;
|
||||
pNetGame->m_fPlayerMarkerRadius = fRadius;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
static cell AMX_NATIVE_CALL n_SetWeather(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: SetWeather
|
||||
|
Loading…
Reference in New Issue
Block a user