Raised This Month: $ Target: $400
 0% 

Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
@.SizNeR
Member
Join Date: Jun 2013
Old 08-20-2013 , 20:10   Error
Reply With Quote #1

PHP Code:
new const g_szBankClass[] = "Bank";

public 
plugin_init()
{
    
register_forwardFM_Touch"FwNpcTouch" );
}

public 
FwNpcTouchclientiEnt )
{
    if ( !
pev_validiEnt ) || !is_user_connectedclient ) )
        return 
1;
        
    static 
szEntClass32 ];
    
    
entity_get_stringiEntEV_SZ_classnameszEntClasscharsmaxszEntClass ) );
    
    if ( 
equalszEntClassg_szBankClass ) )
    {
        
CmdBankMenuclient );
        
        return 
1;
    }
    
    return 
1;

Error:
PHP Code:
ErrorExpected token","but found ";" on line 71 
The Line Error:
PHP Code:
if ( equalszEntClassg_szBankClass ) ) 

Thanks for help.
@.SizNeR 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 15:47.


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