AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [ Solved ] tag mismatch (https://forums.alliedmods.net/showthread.php?t=76776)

xPaw 08-30-2008 04:48

[ Solved ] tag mismatch
 
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



Exolent[jNr] 08-30-2008 04:56

Re: tag mismatch
 
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



xPaw 08-30-2008 04:58

Re: tag mismatch
 
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 ?

Exolent[jNr] 08-30-2008 05:04

Re: tag mismatch
 
Yes.

Arkshine 08-30-2008 05:04

Re: tag mismatch
 
yep.

Exolent[jNr] 08-30-2008 05:06

Re: tag mismatch
 
Hi arkshine. :D

xPaw 08-30-2008 05:06

Re: tag mismatch
 
okay thanks


All times are GMT -4. The time now is 03:10.

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