Raised This Month: $ Target: $400
 0% 

get_players()... when it gets player after player came?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-05-2009 , 13:42   get_players()... when it gets player after player came?
Reply With Quote #1

get_players() can't get player who just made client_connect, so when?

Last edited by Owyn; 03-05-2009 at 14:07.
Owyn is offline
Send a message via ICQ to Owyn
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-05-2009 , 14:09   Re: get_players()... when it gets player after player came?
Reply With Quote #2

when they spawn or client_putinserver()... iam not 100% sure what you mean tho...
__________________
Dr.G is offline
iNspiratioN
Member
Join Date: Feb 2009
Location: Lithuania
Old 03-05-2009 , 14:12   Re: get_players()... when it gets player after player came?
Reply With Quote #3

http://www.amxmodx.org/funcwiki.php?go=func&id=174

I think you need to do it with client_putinserver
iNspiratioN is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-05-2009 , 14:22   Re: get_players()... when it gets player after player came?
Reply With Quote #4

I generally wait until client_putinserver() before I do anything with connecting clients. Just gives a bit more insurance that they'll actually stay connected and also have a steam id.
__________________
Brad is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-05-2009 , 16:02   Re: get_players()... when it gets player after player came?
Reply With Quote #5

=\ just tried client_putinserver but right after it i can't do any client_cmd or client_print =\ just nothing comes up, but with client_authorized client_cmd and print works fine =\
Owyn is offline
Send a message via ICQ to Owyn
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 03-05-2009 , 17:37   Re: get_players()... when it gets player after player came?
Reply With Quote #6

Then you did something wrong. /shrug
__________________
Brad 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 16:59.


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