AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   simple tag mismatch help (https://forums.alliedmods.net/showthread.php?t=25972)

GHW_Chronic 03-24-2006 19:52

simple tag mismatch help
 
Code:
if(!buttons & IN_ATTACK2)

Warning: Tag mismatch on line 355

Obviously that is the incorrect way to write that statement. Now what is the correct way?

Xanimos 03-24-2006 19:57

if(!(button & ATTACK2))

GHW_Chronic 03-24-2006 20:03

so simple, gracias.

v3x 03-24-2006 20:05

tsk tsk :P

GHW_Chronic 03-24-2006 20:10

been working on the same plugin for hours and couldn't remember what to do in that situation.


All times are GMT -4. The time now is 16:42.

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