Raised This Month: $32 Target: $400
 8% 

Solved warning 213: tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Suntox
Member
Join Date: Nov 2016
Old 11-15-2017 , 15:41   warning 213: tag mismatch
Reply With Quote #1

hello, when i try to compile this code i get this warning vipmenu.sma(144) : warning 213: tag mismatch
any help ?

PHP Code:
public client_PostThink(id)
{
    if(!
is_user_alive(id)) return PLUGIN_CONTINUE
    
if(g_JumpUsed[id] == true//warning 213: tag mismatch
    
{
        new 
Float:velocity[3]    
        
entity_get_vector(id,EV_VEC_velocity,velocity)
        
velocity[2] = random_float(265.0,285.0)
        
entity_set_vector(id,EV_VEC_velocity,velocity)
        
g_JumpUsed[id] = false
        
return PLUGIN_CONTINUE
    
}
    return 
PLUGIN_CONTINUE
}    

ResetVariables(id) { 

    
g_SpeedUsed[id] = false 
    g_JumpUsed
[id] = false
    g_JumpNume
[id] = 0
    
    set_user_maxspeed
(id
    
set_user_gravity(id
    
set_user_rendering(id


Last edited by Suntox; 11-15-2017 at 17:19.
Suntox is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-15-2017 , 16:40   Re: warning 213: tag mismatch
Reply With Quote #2

Show how you created g_JumpUsed.
__________________
HamletEagle is offline
Suntox
Member
Join Date: Nov 2016
Old 11-15-2017 , 16:47   Re: warning 213: tag mismatch
Reply With Quote #3

fixed.

Last edited by Suntox; 11-15-2017 at 17:19.
Suntox is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 11-16-2017 , 07:44   Re: warning 213: tag mismatch
Reply With Quote #4

Share the solution. It might help other.
__________________
retired chump
DjSoftero is offline
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 17:36.


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