Raised This Month: $ Target: $400
 0% 

Error


Post New Thread Reply   
 
Thread Tools Display Modes
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
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 08-21-2013 , 10:22   Re: Error
Reply With Quote #2

there is nothing wrong. I think you should show your whole code.
akcaliberg is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-21-2013 , 12:36   Re: Error
Reply With Quote #3

It is this line: CmdBankMenu( client );

because a compiler bug or something

and post full code.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply



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