mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Added abs(x) stock
This commit is contained in:
parent
729932476b
commit
227c13d12c
@ -38,4 +38,9 @@ native sqroot(value);
|
||||
native time(&hour=0,&minute=0,&second=0);
|
||||
native date(&year=0,&month=0,&day=0);
|
||||
|
||||
native tickcount(&granularity=0);
|
||||
native tickcount(&granularity=0);
|
||||
|
||||
stock abs(x)
|
||||
{
|
||||
return x > 0 ? x : -x;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user