Raised This Month: $ Target: $400
 0% 

IF problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stormsys
Member
Join Date: Oct 2005
Old 10-17-2005 , 14:02   IF problem
Reply With Quote #1

its not an error but i dont like seeing warnings

right i moved some of my functions into a .inc to make it tidyer,

and to make shure the plugin is enabled and that the person is an admin in those functions
Code:
[line 16]if(enabled == 0 || !get_user_flags(id)&ADMIN_LEVEL_F){ [line17]    PLUGIN_HANDLED [line18]}
now i get:

Welcome to the AMX Mod X 1.60-300 Compiler.
Copyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Team

sshp_restore.inc(16) : warning 213: tag mismatch
sshp_restore.inc(17 -- 1 : warning 215: expression has no effect


ok how do i fix my code up
Stormsys is offline
 



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:43.


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