Raised This Month: $ Target: $400
 0% 

Send rcon commands to another server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 04-28-2011 , 18:42   Send rcon commands to another server?
Reply With Quote #1

Is it possible to send a rcon command to another server via a plugin?

Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
Nyuszy
Senior Member
Join Date: Apr 2009
Old 04-28-2011 , 18:50   Re: Send rcon commands to another server?
Reply With Quote #2

yes, with sockets
Nyuszy is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-28-2011 , 21:54   Re: Send rcon commands to another server?
Reply With Quote #3

http://forums.alliedmods.net/showthread.php?t=150519

Code:
scomm_send(ip, "rcon say Good news from other server!");

Code:
public scomm_receive(data[], len) {     if(equal(data, "rcon ", 5))     {         server_cmd("%s", rcon[5]);         server_exec();     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 04:28.


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