added get_user_wonid()

This commit is contained in:
Felix Geyer 2004-03-16 19:40:02 +00:00
parent a4eccaa4bb
commit bbb5adc70f

View File

@ -98,3 +98,10 @@ stock build_path( path[] , len , {Float,_}:... ) {
stock get_basedir( name[], len ) stock get_basedir( name[], len )
return copy(name,len,"addons/amxx") 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)
}