Cvar - Tag Mismatch
Hello,
I'm having a problem I hope you can help me with, its probably easy but I could use a fresh set of eyes. basically I have a bunch of lines like this: new CVAR_VARIABLE register_cvar ( "cvar_here", "1.5") CVAR_VARIABLE = get_cvar_float ( "cvar_here" ) and then when compiling I have warning 213: tag mismatch its always on the lines that contain the CVAR_VARIABLE = get_cvar_float ( "cvar_here" ) lines. thoughts? Thanks in advance. |
Re: Cvar - Tag Mismatch
First it's better to use pcvar. ( http://wiki.alliedmods.net/Optimizin...#Cvar_Pointers )
Here an exemple : Code:
You have a 'tag mismatch' because you have omit a 'Float:' tag when you retrieve float value. |
Re: Cvar - Tag Mismatch
So one quick question.
Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 11:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.