AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bug in compiler probably (https://forums.alliedmods.net/showthread.php?t=298693)

eyal282 06-20-2017 15:37

Bug in compiler probably
 
1 Attachment(s)
These errors in the file below do not exist, the code does not have 30 lines and errors are weird.

PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...


That is the code, clearly less than 30 lines, attached file contains errors.

Edit: a plugin with 0 lines produces similar errors.

HamletEagle 06-20-2017 15:40

Re: Bug in compiler probably
 
I can compile this code just fine. Maybe you have some weird encoding in the sma file.

D3XT3R 06-21-2017 19:46

Re: Bug in compiler probably
 
Welcome to the AMX Mod X 1.8.1-300 Compiler.

-.- you use old compiler.... try use new compiler 1.8.3 or 1.8.2.

CrazY. 06-21-2017 19:47

Re: Bug in compiler probably
 
O_O

EFFx 06-21-2017 19:49

Re: Bug in compiler probably
 
LOL

Code:

Error: Undefined symbol "Arg" on line 53
Same as Hamlet, doesn't matter which compiler you're using, errors like this aren't normal. Try re-installing the compiler.

klippy 06-21-2017 20:54

Re: Bug in compiler probably
 
I see you are using AMXX studio. Try first saving the file if you haven't.


All times are GMT -4. The time now is 23:01.

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