AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get_players()... when it gets player after player came? (https://forums.alliedmods.net/showthread.php?t=87007)

Owyn 03-05-2009 13:42

get_players()... when it gets player after player came?
 
get_players() can't get player who just made client_connect, so when?

Dr.G 03-05-2009 14:09

Re: get_players()... when it gets player after player came?
 
when they spawn or client_putinserver()... iam not 100% sure what you mean tho...

iNspiratioN 03-05-2009 14:12

Re: get_players()... when it gets player after player came?
 
http://www.amxmodx.org/funcwiki.php?go=func&id=174

I think you need to do it with client_putinserver

Brad 03-05-2009 14:22

Re: get_players()... when it gets player after player came?
 
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.

Owyn 03-05-2009 16:02

Re: get_players()... when it gets player after player came?
 
=\ 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 =\

Brad 03-05-2009 17:37

Re: get_players()... when it gets player after player came?
 
Then you did something wrong. /shrug


All times are GMT -4. The time now is 16:59.

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