Raised This Month: $ Target: $400
 0% 

[Help] Mismatch tag warning?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chaya_
BANNED
Join Date: Jul 2014
Location: Germany
Old 06-08-2016 , 13:28   [Help] Mismatch tag warning?
Reply With Quote #1

PHP Code:
    g_hCvar_Trail_Enable CreateConVar("sm_trail_enable""1""Enable or Disable all features of the plugin."true0.0true1.0);
    
g_hCvar_Trail_AdminOnly CreateConVar("sm_trail_adminonly""0""Enable trails only for Admins (VOTE Flag)."true0.0true1.0);
    
g_hCvar_Trail_Duration CreateConVar("sm_trail_duration""5.0""Duration of the trail."true1.0true100.0);
    
g_hCvar_Trail_Fade_Duration CreateConVar("sm_trail_fade_duration""3""Duration of the trail."true1.0true100.0);
    
g_hCvar_Trail_Width CreateConVar("sm_trail_width""5.0""Width of the trail."true1.0true100.0);
    
g_hCvar_Trail_End_Width CreateConVar("sm_trail_end_width""1.0""Width of the trail."true1.0true100.0);
    
g_hCvar_Trail_Per_Round CreateConVar("sm_trail_per_round""5""How many times per round a client can use the command."true1.0true100.0); 
Example: https://wiki.alliedmods.net/ConVars_...eating_ConVars

Warning:

Quote:
//// playertrails.sp
//
// playertrails.sp(51) : warning 213: tag mismatch
// playertrails.sp(51) : warning 213: tag mismatch
// playertrails.sp(51) : warning 213: tag mismatch
// playertrails.sp(52) : warning 213: tag mismatch
// playertrails.sp(52) : warning 213: tag mismatch
// playertrails.sp(52) : warning 213: tag mismatch
// playertrails.sp(53) : warning 213: tag mismatch
// playertrails.sp(53) : warning 213: tag mismatch
// playertrails.sp(53) : warning 213: tag mismatch
// playertrails.sp(54) : warning 213: tag mismatch
// playertrails.sp(54) : warning 213: tag mismatch
// playertrails.sp(54) : warning 213: tag mismatch
// playertrails.sp(55) : warning 213: tag mismatch
// playertrails.sp(55) : warning 213: tag mismatch
// playertrails.sp(55) : warning 213: tag mismatch
// playertrails.sp(56) : warning 213: tag mismatch
// playertrails.sp(56) : warning 213: tag mismatch
// playertrails.sp(56) : warning 213: tag mismatch
// playertrails.sp(57) : warning 213: tag mismatch
// playertrails.sp(57) : warning 213: tag mismatch
// playertrails.sp(57) : warning 213: tag mismatch
// Code size: 17424 bytes
// Data size: 6160 bytes
// Stack/heap size: 16384 bytes
// Total requirements: 39968 bytes
//
// 21 Warnings.
//
// Compilation Time: 0,31 sec
// ----------------------------------------
Why i got warnings with values and if i delete ..., true, 0.1, true, 1.0) blabla??
Chaya_ is offline
Send a message via ICQ to Chaya_ Send a message via Skype™ to Chaya_
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-08-2016 , 13:36   Re: [Help] Mismatch tag warning?
Reply With Quote #2

You left out the _, after the description.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Chaya_
BANNED
Join Date: Jul 2014
Location: Germany
Old 06-08-2016 , 13:53   Re: [Help] Mismatch tag warning?
Reply With Quote #3

Yeah, i found it... Thanks for the information
Chaya_ is offline
Send a message via ICQ to Chaya_ Send a message via Skype™ to Chaya_
Reply



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 23:56.


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