mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[bot] Implement n_acos(...)
This commit is contained in:
parent
45c64be31d
commit
346395ee49
@ -58,8 +58,9 @@ static cell AMX_NATIVE_CALL n_asin(AMX *amx, cell *params)
|
||||
// native Float:acos(Float:value)
|
||||
static cell AMX_NATIVE_CALL n_acos(AMX *amx, cell *params)
|
||||
{
|
||||
// TODO: n_acos
|
||||
return 0;
|
||||
CHECK_PARAMS(1);
|
||||
float fResult = (float)(acos(amx_ctof(params[1])) * 180 / PI);
|
||||
return amx_ftoc(fResult);
|
||||
}
|
||||
|
||||
// native Float:atan(Float:value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user