mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
added localinfo stocks
This commit is contained in:
parent
c7981eb54b
commit
64a7afa371
@ -91,13 +91,14 @@ stock is_running(const arg[]) {
|
|||||||
return equal(mod_name,arg)
|
return equal(mod_name,arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
stock build_path( path[] , len , {Float,_}:... ) {
|
stock get_basedir(name[],len)
|
||||||
format_args( path , len , 2 )
|
return get_localinfo("amxx_basedir",name,len)
|
||||||
return replace( path , len , "$basedir", "addons/amxx" )
|
|
||||||
}
|
|
||||||
|
|
||||||
stock get_basedir( name[], len )
|
stock get_configsdir(name[],len)
|
||||||
return copy(name,len,"addons/amxx")
|
return get_localinfo("amxx_configsdir",name,len)
|
||||||
|
|
||||||
|
stock get_customdir(name[],len)
|
||||||
|
return get_localinfo("amxx_customdir",name,len)
|
||||||
|
|
||||||
stock get_user_wonid(index)
|
stock get_user_wonid(index)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user