Raised This Month: $ Target: $400
 0% 

Check if user has steam or not


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 12-01-2010 , 10:07   Check if user has steam or not
Reply With Quote #1

I need a little help with this.
I guess it should be like this, but I think I do it wrong (obviously)

PHP Code:
new authid[32], arg[32]
get_user_authid(idauthid31)
parseauthidarg31)
if (
arg[id] == "VALVE_ID_LAN"ColorChat(idGREEN"Buy steam"
NucL3ra is offline
Send a message via Yahoo to NucL3ra
zeus
Senior Member
Join Date: Jul 2008
Old 12-01-2010 , 10:10   Re: Check if user has steam or not
Reply With Quote #2

PHP Code:
new szAuthId[33]
get_user_authid(id,szAuthId,32)
if(
equal(szAuthId,"VALVE_ID_LAN"//code 
zeus is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 12-01-2010 , 10:15   Re: Check if user has steam or not
Reply With Quote #3

ye.. equal was it, thanks
NucL3ra is offline
Send a message via Yahoo to NucL3ra
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-01-2010 , 10:15   Re: Check if user has steam or not
Reply With Quote #4

don't use dproto ?
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-01-2010 , 11:20   Re: Check if user has steam or not
Reply With Quote #5

Also, steam is free
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
SpeeDeeR
Veteran Member
Join Date: Mar 2010
Location: Bulgaria
Old 12-01-2010 , 11:46   Re: Check if user has steam or not
Reply With Quote #6

you can also use regex
PHP Code:
regex_compile("^^STEAM_0:(0|1):\d+$", return, errorcharsmax(error)) 
simple as that
SpeeDeeR is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-01-2010 , 16:54   Re: Check if user has steam or not
Reply With Quote #7

Or don't allow Non-Steam players on your server.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



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 11:20.


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