Raised This Month: $ Target: $400
 0% 

[ Solved ] tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2008 , 04:48   [ Solved ] tag mismatch
Reply With Quote #1

Hi, i'm using fm util, and used from there function
fm_get_user_noclip/fm_set_user_noclip

but when compiling, compiler says error
Quote:
/home/groups/amxmodx/tmp3/textBoNVPQ.sma(592) : warning 213: tag mismatch
code:
PHP Code:
        if(fm_get_user_noclip(id) == 0fm_set_user_noclip(id,1)
        else 
fm_set_user_noclip(id,0
same error on this line:
PHP Code:
if(fm_get_user_noclip(id) == 1) {
    
client_print(id,print_chat,"Noclip detected / bla bla")
    
clean false

__________________

Last edited by xPaw; 08-30-2008 at 05:07.
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-30-2008 , 04:56   Re: tag mismatch
Reply With Quote #2

PHP Code:
fm_set_user_noclip(id, !fm_get_user_noclip(id)) 
PHP Code:
if(fm_get_user_noclip(id)) {
    
client_print(id,print_chat,"Noclip detected / bla bla")
    
clean false

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2008 , 04:58   Re: tag mismatch
Reply With Quote #3

one question with this line
PHP Code:
fm_set_user_noclip(id, !fm_get_user_noclip(id)) 
its will, if i have noclip, it will off, and if dont have, it will on, right ?
__________________
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-30-2008 , 05:04   Re: tag mismatch
Reply With Quote #4

Yes.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-30-2008 , 05:04   Re: tag mismatch
Reply With Quote #5

yep.
__________________
Arkshine is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-30-2008 , 05:06   Re: tag mismatch
Reply With Quote #6

Hi arkshine.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2008 , 05:06   Re: tag mismatch
Reply With Quote #7

okay thanks
__________________
xPaw is offline
Reply


Thread Tools
Display Modes

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 03:10.


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