Raised This Month: $ Target: $400
 0% 

Cant compile my plugin [Help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bloody806
Member
Join Date: Jun 2012
Location: Czech Republic
Old 03-02-2013 , 20:44   Cant compile my plugin [Help]
Reply With Quote #1

Hi i have plugin but show me too many erros :cry:
Does anyone have any ideas how to fix this? Please

I attach SMA file

Here are errors:

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Number of arguments does not match definition on line 156
Error: Invalid function or declaration on line 169
Error: Invalid function or declaration on line 172
Error: Invalid function or declaration on line 174
Error: Invalid function or declaration on line 178
Error: Unmatched closing brace on line 184
Error: Argument type mismatch (argument 1) on line 597
Error: Argument type mismatch (argument 1) on line 597
Error: Argument type mismatch (argument 2) on line 598
Error: Argument type mismatch (argument 1) on line 600
Error: Argument type mismatch (argument 1) on line 600
Error: Argument type mismatch (argument 2) on line 601
Error: Invalid expression, assumed zero on line 606
Error: Undefined symbol "hlavnemenu_handle" on line 606
Warning: Expression has no effect on line 606
Error: Expected token: ";", but found ")" on line 606
Error: Too many error messages on one line on line 606

Compilation aborted.
16 Errors.
Edit: REMOVE SMA FILE I was fixed my plugin

Last edited by bloody806; 03-02-2013 at 23:41. Reason: Edit - Remove SMA file
bloody806 is offline
Send a message via Skype™ to bloody806
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 03-02-2013 , 22:06   Re: Cant compile my plugin [Help]
Reply With Quote #2

post the errors
vitorrossi is offline
bloody806
Member
Join Date: Jun 2012
Location: Czech Republic
Old 03-02-2013 , 22:11   Re: Cant compile my plugin [Help]
Reply With Quote #3

I edited my first post.

Last edited by bloody806; 03-02-2013 at 22:13. Reason: EDit my first post
bloody806 is offline
Send a message via Skype™ to bloody806
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-02-2013 , 22:15   Re: Cant compile my plugin [Help]
Reply With Quote #4

156: hlavnemenu with 1 paramater does not exist
169-184: if statement is not within a function
597, 598, 600, 601: item is not an array of characters
606: You are defining a function within a function


Also, attach the SMA file and remove the code block from your post. Indent your code as well
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 03-02-2013 at 22:16.
YamiKaitou is offline
bloody806
Member
Join Date: Jun 2012
Location: Czech Republic
Old 03-02-2013 , 22:40   Re: Cant compile my plugin [Help]
Reply With Quote #5

Okay i attach SMA file
bloody806 is offline
Send a message via Skype™ to bloody806
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-02-2013 , 22:46   Re: Cant compile my plugin [Help]
Reply With Quote #6

Quote:
Originally Posted by YamiKaitou View Post
156: hlavnemenu with 1 paramater does not exist
169-184: if statement is not within a function
597, 598, 600, 601: item is not an array of characters
606: You are defining a function within a function
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
bloody806
Member
Join Date: Jun 2012
Location: Czech Republic
Old 03-02-2013 , 22:53   Re: Cant compile my plugin [Help]
Reply With Quote #7

Wow i fixed Thank you for the help
bloody806 is offline
Send a message via Skype™ to bloody806
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 21:45.


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