AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Send rcon commands to another server? (https://forums.alliedmods.net/showthread.php?t=155960)

Desikac 04-28-2011 18:42

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

:)

Nyuszy 04-28-2011 18:50

Re: Send rcon commands to another server?
 
yes, with sockets :)

Exolent[jNr] 04-28-2011 21:54

Re: Send rcon commands to another server?
 
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();     } }


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

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