Raised This Month: $ Target: $400
 0% 

what is the function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
firewall
Member
Join Date: Jun 2006
Old 06-13-2007 , 04:15   what is the function
Reply With Quote #1

what function retur the code:

"entered the game" ?
firewall is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-13-2007 , 04:39   Re: what is the function
Reply With Quote #2

client_authorized
client_connect
client_putinserver
Lee is offline
firewall
Member
Join Date: Jun 2006
Old 06-13-2007 , 06:56   Re: what is the function
Reply With Quote #3

Quote:
Originally Posted by Lee View Post
client_authorized
client_connect
client_putinserver
client_authorized is for steam validation, and from documentation ""client_putinserver and client_authorized are not guaranteed to happen in any particular order."

the order is
user conected ip address
steam validation
user entered the game

eg:
Iubaretu<1799><STEAM_ID_PENDING><>" connected, address "86.125.xxx.xxx:27005"
Iubaretu<1799><STEAM_0:1:1381xxxx><>" STEAM USERID validated
Iubaretu<1799><STEAM_0:1:1381xxxx><>" entered the game
Iubaretu<1799><STEAM_0:1:1381xxxx><>" joined team "CT"
firewall is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-13-2007 , 07:26   Re: what is the function
Reply With Quote #4

You want client_putinserver(). The documentation is correct when it states the order is not guaranteed..
Lee is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-13-2007 , 08:10   Re: what is the function
Reply With Quote #5

Keep in mind though, as the documentation alluded to, you might not be able to get a player's authid in client_putinserver(), firewall.
__________________
Brad is offline
firewall
Member
Join Date: Jun 2006
Old 06-13-2007 , 09:50   Re: what is the function
Reply With Quote #6

so client_connect is the last?
i saw that client_putinserver and client_authorized aren't in a specific order but then client_connect is the last ?

1.client_putinserver

2.client_authorized
3.client_connect

1.client_authorized
2.client_putinserver
3.client_connect.
firewall is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-13-2007 , 09:52   Re: what is the function
Reply With Quote #7

I'm shure this is the correct order!

Code:
client_connect // Once that players types in console "connect bla bla" and press enter.
client_authorized //Steam validating,shure after "connect"
client_putinserver //Once player enterd the game
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 06-13-2007 at 09:55.
Alka is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 06-13-2007 , 09:57   Re: what is the function
Reply With Quote #8

For the last time: client_putinserver() and client_authorized() aren't guaranteed to be called in any particular order. client_connect() is first.
Lee is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 06-13-2007 , 10:02   Re: what is the function
Reply With Quote #9

Of course is not! But i tell the order for player connecting...and to answer to firewall
Code:
client_putinserver
is return "entered the game"

EDIT: @Lee - correct
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 06-13-2007 at 10:06.
Alka is offline
Reply


Thread Tools
Display Modes

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 10:33.


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