Raised This Month: $ Target: $400
 0% 

Round Restart Error Forcing Players to Select Team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
feren02
Senior Member
Join Date: Mar 2012
Old 01-12-2021 , 12:04   Re: Round Restart Error Forcing Players to Select Team
Reply With Quote #8

Quote:
Originally Posted by Black Rose View Post
I think there's an obvious mistake somewhere. Because cvars are so simple that they can't go wrong.

I'm just guessing here but I'm assuming you're trying to edit the cvars inside the source code since you keep quoting it, which kind of defeats the purpose of cvars. Cvars (changeable variables) are variables that doesn't need to be changed inside the source.

The .sma file does nothing but give you the source so you can make changes. If you made changes you have to compile it into a binary file to use it. The .amxx file is the compiled plugin which does the work.

But even if you compile it it's not a reliable way to do it. You should add the cvars to a config file, if you're unsure of how to do that, just add them to the bottom of amxx.cfg, it really doesn't matter which config file it is.

If you are sure your cvars are right, add debug messages inside the code to find out what is wrong.
Does this mean that the CVARS I quoted are overwritten by another CVAR forced by the server? I tried meta cvar, the cvars I quote are displayed properly in-game via console or in server console.

The CVARS I quote, I need to put them in amxx.cfg if I understood it correctly?


Thanks! Apologies really slow learner...
feren02 is offline
 



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 14:13.


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