Raised This Month: $ Target: $400
 0% 

Client Connecting...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Splintter
New Member
Join Date: Jul 2007
Location: Porto Alegre, Brazil
Old 07-20-2007 , 00:32   Client Connecting...
Reply With Quote #1

Hello, i'm starting at scripting...

when a client connect on my server, what is the sequence of functions that will being called?

client_putinserver
client_connect
client_authorized

... ?

Thank you in advance
Splintter is offline
Minimum
Senior Member
Join Date: Jun 2006
Old 07-20-2007 , 01:37   Re: Client Connecting...
Reply With Quote #2

Personally I always use client_putinserver. I hadn't had a situation yet where I had to use something else.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
djmd378
Senior Member
Join Date: Sep 2004
Old 07-20-2007 , 02:33   Re: Client Connecting...
Reply With Quote #3

Basicly...

client_connect (This is called when the client is connecting)
client_putinserver (This is called when they are in the server)
client_authorized (This is called when the server has their STEAM_ID)
__________________
djmd378 is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-20-2007 , 02:54   Re: Client Connecting...
Reply With Quote #4

To answer your question fully, theoretically the order is
client_connect(id)
client_authorized(id)
client_putinserver(id)

However client_authorized(id) can sometimes be called after client_putinserver(id).
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
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 21:32.


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