Raised This Month: $ Target: $400
 0% 

Round Restart Error Forcing Players to Select Team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 01-11-2021 , 12:18   Re: Round Restart Error Forcing Players to Select Team
Reply With Quote #7

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.
__________________

Last edited by Black Rose; 01-11-2021 at 12:44.
Black Rose 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