Raised This Month: $ Target: $400
 0% 

Req: exec commands on client when it connects.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Servak
Member
Join Date: Feb 2007
Location: Russia, Ryazan
Old 07-21-2007 , 03:28   Req: exec commands on client when it connects.
Reply With Quote #1

Hi, can anyone make plugin which exec commands on client when client connects to my server. I saw it on one of servers, my rates automatically changes when i connect to this server.
Servak is offline
Send a message via ICQ to Servak
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-21-2007 , 12:08   Re: Req: exec commands on client when it connects.
Reply With Quote #2

You should use the search feature next time.

http://www.amxmodx.org/compiler.php?...hor=&go=search
ConnorMcLeod is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-21-2007 , 18:54   Re: Req: exec commands on client when it connects.
Reply With Quote #3

That checks not executes commands on clients.. I think he is searching for something like "HEY I just join and I wish to die" thing but with a different command..

I am looking for that too.
__________________
hugz` is offline
Send a message via AIM to hugz`
Servak
Member
Join Date: Feb 2007
Location: Russia, Ryazan
Old 07-22-2007 , 09:15   Re: Req: exec commands on client when it connects.
Reply With Quote #4

Yes, i don't need any checks, just exec commands on all connecting clients.
Servak is offline
Send a message via ICQ to Servak
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-22-2007 , 09:40   Re: Req: exec commands on client when it connects.
Reply With Quote #5

but, the search would still help you, if you would use it...
http://www.amxmodx.org/compiler.php?...hor=&go=search
__________________

Last edited by Greenberet; 07-22-2007 at 10:23.
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 07-22-2007 , 10:24   Re: Req: exec commands on client when it connects.
Reply With Quote #6

Which one of those plugins does what he wants?

I can't be bothered to implement a config file to contain a list of commands right now, but here's a little something if you're willing to recompile every time you wish to change the commands.

Code:
#include <amxmodx> #define COMMAND "rate 25000;wait;cl_cmdrate 100" //#define COMMAND "name ^"UseQuotesLikeThis^";wait;fps_max 100" public plugin_init() {     register_plugin("Exec On Connect", "0.1", "..."); } public client_putinserver(id) {     client_cmd(id, COMMAND); }
If you need help specifying the exact commands you want, just say so.

Last edited by Lee; 07-22-2007 at 10:26.
Lee is offline
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-22-2007 , 13:45   Re: Req: exec commands on client when it connects.
Reply With Quote #7

Quote:
Originally Posted by Greenberet View Post
but, the search would still help you, if you would use it...
http://www.amxmodx.org/compiler.php?...hor=&go=search
Would you learn to read? that search did nothing but brought up useless crap the guy doesn't request.
__________________
hugz` is offline
Send a message via AIM to hugz`
mr.noob.
Member
Join Date: Jun 2005
Old 07-22-2007 , 14:49   Re: Req: exec commands on client when it connects.
Reply With Quote #8

Or use amxx.cfg, it exec's commands on server map change
mr.noob. is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 07-22-2007 , 16:09   Re: Req: exec commands on client when it connects.
Reply With Quote #9

Wow. You cannot use amxx.cfg to execute commands on players.
Lee is offline
mr.noob.
Member
Join Date: Jun 2005
Old 07-23-2007 , 00:10   Re: Req: exec commands on client when it connects.
Reply With Quote #10

Oh on players, read wrong. Calm down lee
mr.noob. 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 09:30.


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