diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 788a8faa..c0b2a279 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -97,4 +97,11 @@ stock build_path( path[] , len , {Float,_}:... ) { } stock get_basedir( name[], len ) - return copy(name,len,"addons/amxx") \ No newline at end of file + return copy(name,len,"addons/amxx") + +stock get_user_wonid(index) +{ + new authid[32] + get_user_authid(index,authid,31) + return str_to_num(authid) +} \ No newline at end of file