AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Simple redirection (https://forums.alliedmods.net/showthread.php?t=58268)

vl@d 07-22-2007 14:59

Simple redirection
 
I want that the admins are excluded from redirection. :)
http://forums.alliedmods.net/showthread.php?p=10072

Can anyone modify the plugin. :)

hlstriker 07-22-2007 15:44

Re: Simple redirection
 
1 Attachment(s)
3 lines of code did it... :)

Enjoy.

EDIT:
Fixed thanks to sawce.

vl@d 07-22-2007 16:05

Re: Simple redirection
 
ouch your a genius. :)
I will going to test it. :)
I will edit this post if it works or not. :|

sawce 07-22-2007 18:45

Re: Simple redirection
 
Clients do not have access flags issued during client_connect.

The earliest they have the flags would be in client_authorized.

hlstriker 07-22-2007 23:02

Re: Simple redirection
 
I never knew that @_@

Thanks for clearing that up for me. Updated the plugin in the above post.

vl@d 07-23-2007 06:58

Re: Simple redirection
 
yes but that wont afect the people who trying to connect to the server?

Rolnaaba 07-23-2007 23:11

Re: Simple redirection
 
client_authorized is called after client_connect, and before client_putinserver. It is called when they are asigned their STEAM_ID. It will work.

vl@d 07-24-2007 10:19

Re: Simple redirection
 
aha.
Thx to all. :D


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

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