mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[server] Implement and match n_LimitPlayerMarkerRadius(...)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user