mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
added build_path()
This commit is contained in:
parent
a6473737a2
commit
c7981eb54b
@ -31,4 +31,12 @@ stock numtostr(num,string[],len)
|
|||||||
return num_to_str(num,string,len)
|
return num_to_str(num,string,len)
|
||||||
|
|
||||||
stock strtonum(const string[])
|
stock strtonum(const string[])
|
||||||
return str_to_num(string)
|
return str_to_num(string)
|
||||||
|
|
||||||
|
stock build_path( path[] , len , {Float,_}:... )
|
||||||
|
{
|
||||||
|
new basedir[32]
|
||||||
|
get_localinfo("amxx_basedir",basedir,31)
|
||||||
|
format_args(path,len,2)
|
||||||
|
return replace(path,len,"$basedir",basedir)
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user