AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Menu Code HELP!! (https://forums.alliedmods.net/showthread.php?t=274004)

Kosidone 10-31-2015 09:25

Menu Code HELP!!
 
solved

redivcram 10-31-2015 09:28

Re: Menu Code HELP!!
 
What is the problem? I told you post the problem... if it wont compile, then post the error.

Kosidone 10-31-2015 09:35

Re: Menu Code HELP!!
 
Man i know you try to help me i explain the problem take a look here
Quote:

I need someone Fix it or tell me my mistakes

redivcram 10-31-2015 09:39

Re: Menu Code HELP!!
 
Post the error between the [code] tags

Kosidone 10-31-2015 09:42

Re: Menu Code HELP!!
 
Code:

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

Error: Undefined symbol "register_forward" on line 19
Warning: Expression has no effect on line 19
Error: Expected token: ";", but found ")" on line 19
Error: Invalid expression, assumed zero on line 19
Error: Too many error messages on one line on line 19

Compilation aborted.
4 Errors.
Could not locate output file C:\Users\~\Desktop\My Plugins\M_Menu2.amx (compile failed).


redivcram 10-31-2015 09:44

Re: Menu Code HELP!!
 
If I read the error.. and see what's written.. instead of you doing it but never mind...

The compiler can't recognize "register_forward"

You forgot to include fakemeta.

Kosidone 10-31-2015 09:46

Re: Menu Code HELP!!
 
oh it was so simple xD

thnx for your answer,help!

redivcram 10-31-2015 09:48

Re: Menu Code HELP!!
 
Quote:

Originally Posted by Kosidone (Post 2358345)
thnx for your answer,help!

What's wrong now?

Kosidone 10-31-2015 09:52

Re: Menu Code HELP!!
 
Code:

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

Warning: Loose indentation on line 87
Error: Undefined symbol "ColorChat" on line 159
Warning: Expression has no effect on line 159
Warning: Expression has no effect on line 159
Warning: Expression has no effect on line 159
Error: Expected token: ";", but found ")" on line 159
Error: Invalid expression, assumed zero on line 159
Error: Too many error messages on one line on line 159

Compilation aborted.
4 Errors.
Could not locate output file C:\Users\teo\Desktop\My Plugins\M_Menu2.amx (compile failed).

i remove #include <ColorChat>
to see the errors
and i add
Code:

new g_mute;

redivcram 10-31-2015 09:53

Re: Menu Code HELP!!
 
And?


All times are GMT -4. The time now is 17:58.

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