.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Forum (http://forums.bots-united.com/forumdisplay.php?f=36)
-   -   Stefan: HERE'S WHY rbds command doesn't work (http://forums.bots-united.com/showthread.php?t=128)

Pierre-Marie Baty 01-01-2004 20:07

Stefan: HERE'S WHY rbds command doesn't work
 
It's a screenshot on the realbot website that made me figure out what your problem is, Stefan.

The problem is, that you can't register a SERVER COMMAND "rbds" and a CVAR "rbds" in a row if both the server command and the CVAR have the same name.

The first thing that is registered is the server command, it works okay, but then when the code comes to register the CVAR, it refuses to do so and prints that error message:
CVAR_REGISTER: rbds: is a command.

This is also why you couldn't seem to get the server command workign with your old RealBot... because you were registering the server command AFTER the CVAR... it's the contrary in the plugin ;)

To make things work like before, change the name of the server command from "rbds" to "realbot" or "rb" (or change the name of the CVAR), and ensure both have DIFFERENT names.

[...]

np, you're welcome :P :D

stefanhendriks 01-01-2004 20:10

Re: Stefan: HERE'S WHY rbds command doesn't work
 
i already said this to ya! :D rofl i already released a new version.

For the moment i uncommented the reg part for METAMOD. I will make a neater fix later on , so i can completely use METAMOD's structure.

Pierre-Marie Baty 01-01-2004 20:22

Re: Stefan: HERE'S WHY rbds command doesn't work
 
om** you're right, ah well it's 1st january, night was tough, I'm dizzy, you know what it is ;)

MEH PMB, MEH !!! :D


All times are GMT +2. The time now is 14:02.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.