Hey,
I couldn't find anything about running rcon commands through a plugin.
Wondering if anyone could help me out?
How to run rcon commands
Re: How to run rcon commands
You can use queue_command_string for that:
Syntax: Select all
from engines.server import queue_command_string
# Change the map to de_dust2.
queue_command_string('changelevel de_dust2')
# Change the gravity.
queue_command_string('sv_gravity 200')
# Enable cheats.
queue_command_string('sv_cheats 1')
Re: How to run rcon commands
Thanks, exactly what I was looking for :>
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 92 guests