Raised This Month: $ Target: $400
 0% 

get_user_authid error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
andrs
Junior Member
Join Date: Feb 2005
Old 02-28-2005 , 18:09   More help
Reply With Quote #3

Code:
public client_connect(id) {     new steamuserid[32]     get_user_authid(id,steamuserid,31)     if (equal(steamuserid,"STEAM_ID_PENDING")) return PLUGIN_CONTINUE     new Result:res = dbi_query(mysql, "SELECT nick FROM medlemar WHERE steamid='%s'", steamuserid)     if (res <= RESULT_NONE) {         server_cmd("amx_ban #%d %d %s", get_user_userid(id), 5, "www.warserver.se" )         return PLUGIN_CONTINUE     }     client_cmd(id,"nick %s",res)     return PLUGIN_CONTINUE }

It wont work. why?

Table: medlemar
steamid: STEAM_0 : 1 : 33067
nick: andrs

My steam id is STEAM_0:13067

I've echo the authid and it returned "STEAM_0 : 1 : 33067"
andrs is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode