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
@ -32,3 +32,11 @@ stock numtostr(num,string[],len)
|
||||
|
||||
stock strtonum(const 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