From bbb5adc70fd170943042d2abb5c1efb04bfbc5a1 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Tue, 16 Mar 2004 19:40:02 +0000 Subject: [PATCH] added get_user_wonid() --- plugins/include/amxmisc.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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