AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Best way to send console messages while connecting? (https://forums.alliedmods.net/showthread.php?t=10408)

Geesu 02-18-2005 13:30

Best way to send console messages while connecting?
 
OK basically if I do client_cmd("echo blah blah") I get the following output after I joined the same server twice w/in like 20 seconds:

Quote:

Commencing connection retry to 38.113.137.8:27016
Connecting to 38.113.137.8:27016...
Connection accepted by 38.113.137.8:27016

BUILD 2834 SERVER (0 CRC)
Server # 56
* Privileges set
Kicked :by SMBans
] retry
Commencing connection retry to 38.113.137.8:27016
Connecting to 38.113.137.8:27016...
Connection accepted by 38.113.137.8:27016

BUILD 2834 SERVER (0 CRC)
Server # 56
* Privileges set
[AMXX] You have been banned by admin '4HM | Warcraft 3 Expansion' from this server.
[AMXX] Time Remaining: -16 minutes.
[AMXX] Reason: 'he is gay'.
[AMXX] Your nick: 'Oldrin'. Your steamid: 'STEAM_0:0:76913'.
[AMXX] Your IP is '129.137.211.104'.
[AMXX] Appeal your ban at 4hm.net
Kicked :by SMBans
Now doing client_print(id, print_console, ...) about never works and neither does console_print.

I was wondering if anyone had any ideas? The code is executed about 2.0 seconds after the player is authorized.

So basically a player joins, get's authed, 2 seconds later my plugin checks to see if they're banned and then displays a console message (well it's supposed to 100% of the time), then 1.5 seconds later the player is kicked.

You would think this would be fine? But it doesn't seem to be working 100% of the time, only about 80% of the time. And I want this to work perfect, any suggestions?


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

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