Raised This Month: $ Target: $400
 0% 

errrors trying to add BoxMenu to SCM


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 01-10-2011 , 10:51   errrors trying to add BoxMenu to SCM
Reply With Quote #1

ive been messing arround trying to add a "boxmenu" to my SCM but i cant seem to get it working :S i keep getting the same errors


PHP Code:
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1028) : warning 217loose indentation
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1030) : error 001expected token";"but found "}"
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1032) : warning 217loose indentation
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1091) : warning 217loose indentation
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1091) : error 029invalid expressionassumed zero
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1091) : error 017undefined symbol "EventCurWeapon"
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1115) : error 029invalid expressionassumed zero
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1115) : error 004: function "pfn_touch" is not implemented
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1115) : warning 215expression has no effect
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1115) : error 001expected token";"but found ")"
/home/groups/amxmodx/tmp3/phpRBuDIE.sma(1115) : fatal error 107too many error messages on one line 
Could any1 please have a look? :S
__________________

Last edited by Shadezz; 01-11-2011 at 11:04.
Shadezz is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-10-2011 , 18:42   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #2

Line 1028, 1029, 1030 are not indented right.
Forgot a semicolon on line 1029
and a } on line 131
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-10-2011 , 22:01   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #3

I have a feeling you did not write that plugin . . .

What's up with the triplicated AMXX Studio crap at the bottom?


Quote:
Originally Posted by drekes View Post
Line 1028, 1029, 1030 are not indented right.
Forgot a semicolon on line 1029
and a } on line 131
131?
__________________

Last edited by fysiks; 01-10-2011 at 22:09.
fysiks is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 01-11-2011 , 09:21   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #4

lol, yes i did.. and for the trimplicated AMXX studio thing, i dont know :S? ive been using amx studio to edit in..
__________________
Shadezz is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 01-11-2011 , 09:23   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #5

Quote:
Originally Posted by drekes View Post
Line 1028, 1029, 1030 are not indented right.
Forgot a semicolon on line 1029
and a } on line 131
and what do u mean by that? :S i really dont get theese errors
__________________
Shadezz is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-11-2011 , 09:58   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
I have a feeling you did not write that plugin . . .

What's up with the triplicated AMXX Studio crap at the bottom?




131?
Sorry, ment 1031.

change line 1016 - 1031 from this:
PHP Code:
        else if ( IsBox(ent) )
        {
            static 
property1[5], property2[5], property3[5], property4[5];
            
            
GetProperty(ent1property1);
            
GetProperty(ent2property2);
            
GetProperty(ent3property3);
            
GetProperty(ent4property4);
            
            
set_hudmessage(025500.010.1800.01.00.250.252);
            
show_hudmessage(id"%s %s^nType: Box^nColor Red: %s^nColor Green: %s^nColor Blue: %s"PLUGIN_PREFIXPLUGIN_VERSIONproperty1property2property3);
    
    
set_hudmessage(25500, -1.00.01);
    
show_hudmessage(id"<Hudmessage>")
    } 
to this:
PHP Code:
        else if ( IsBox(ent) )
        {
            static 
property1[5], property2[5], property3[5], property4[5];
            
            
GetProperty(ent1property1);
            
GetProperty(ent2property2);
            
GetProperty(ent3property3);
            
GetProperty(ent4property4);
            
            
set_hudmessage(025500.010.1800.01.00.250.252);
            
show_hudmessage(id"%s %s^nType: Box^nColor Red: %s^nColor Green: %s^nColor Blue: %s"PLUGIN_PREFIXPLUGIN_VERSIONproperty1property2property3);
    
            
set_hudmessage(25500, -1.00.01);
            
show_hudmessage(id"<Hudmessage>");
        }
    } 
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 01-11-2011 , 10:43   Re: errrors trying to add BoxMenu to SCM
Reply With Quote #7

thanks drekes!


*Thread closed*
__________________

Last edited by Shadezz; 01-11-2011 at 14:11.
Shadezz is offline
Reply


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 01:58.


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