Raised This Month: $ Target: $400
 0% 

[SOLVED] LOOSE IDENTATION


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
flamin
BANNED
Join Date: Jul 2009
Location: Los Teques
Old 05-02-2010 , 21:53   [SOLVED] LOOSE IDENTATION
Reply With Quote #1

Hi! This time i come to assist me to settle these warnings in this code:

PHP Code:
public handle_say(id)
{
    static 
arg[192]
    
read_args(arg,191)
    
remove_quotes(arg)

    new 
sw 0
    
new i0
    
new j
    
new g_words[][] ={ "ready","gaben","notready","dmg","sum","hp","help" }

    if ( 
arg[0] == '.' || arg[0] == '!' )
        { 
          do{    
           
            if( 
equal(arg], g_words]) )
            {
                    
sw 1
                    j 
0
                    client_cmd
(id,arg); 
                    return 
PLUGIN_CONTINUE
            }
            else{
                    
sw 0
                    i
++
            }
              }while(
sw || sizeof(g_words))

            
client_cmd(id,arg); 
            return 
PLUGIN_HANDLED;
        }
    return 
PLUGIN_CONTINUE;

The warnings are in the image...
Attached Thumbnails
Click image for larger version

Name:	help.JPG
Views:	111
Size:	65.7 KB
ID:	64936  
flamin is offline
 


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


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