AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help i cant compile files (https://forums.alliedmods.net/showthread.php?t=312556)

benmassey 12-08-2018 08:02

help i cant compile files
 
when i try to compil files with compiler.exe
its make me a lot of error's
even when i have the inculde that i need
if i try to compile file name adversite.sp
its showes me a lot of errrors

//// advertisements.sp
// advertisements/topcolors.sp(1) : error 010: invalid function or declaration
// advertisements/topcolors.sp(3) : error 010: invalid function or declaration
// advertisements/topcolors.sp(5) : error 010: invalid function or declaration
// advertisements/topcolors.sp(9) : error 010: invalid function or declaration
// advertisements/topcolors.sp(9) : error 010: invalid function or declaration
// advertisements/topcolors.sp(10) : error 010: invalid function or declaration
// advertisements/topcolors.sp(11) : error 010: invalid function or declaration
// advertisements/topcolors.sp(12) : error 010: invalid function or declaration
// advertisements/topcolors.sp(13) : error 010: invalid function or declaration
// advertisements/topcolors.sp(14) : error 010: invalid function or declaration
// advertisements/topcolors.sp(15) : error 010: invalid function or declaration
// advertisements/topcolors.sp(16) : error 010: invalid function or declaration
// advertisements/topcolors.sp(17) : error 010: invalid function or declaration
// advertisements/topcolors.sp(18) : error 010: invalid function or declaration
// advertisements/topcolors.sp(19) : error 010: invalid function or declaration
// advertisements/topcolors.sp(20) : error 010: invalid function or declaration
// advertisements/topcolors.sp(21) : error 010: invalid function or declaration
// advertisements/topcolors.sp(22) : error 010: invalid function or declaration
// advertisements/topcolors.sp(23) : error 010: invalid function or declaration
// advertisements/topcolors.sp(24) : error 010: invalid function or declaration
// advertisements/topcolors.sp(25) : error 010: invalid function or declaration
// advertisements/topcolors.sp(26) : error 010: invalid function or declaration
// advertisements/topcolors.sp(27) : error 010: invalid function or declaration
// advertisements/topcolors.sp(28) : error 010: invalid function or declaration
// advertisements/topcolors.sp(29) : error 010: invalid function or declaration
// advertisements/topcolors.sp(30) : error 010: invalid function or declaration

thats one for exmple thats happend to me for all of scripts i try to comple
any help??

redivcram 12-08-2018 13:17

Re: help i cant compile files
 
Post your code. We can't dream of how it looks like.

fysiks 12-08-2018 14:23

Re: help i cant compile files
 
If an error occurs on the first line, it's likely an issue with the BOM for UTF files (the file should be configured for ANSI or UTF-8 without BOM if you need UTF-8). Also, it looks like you are compiling SourceMod plugins so it'd be better if you posted questions about SourceMod plugins in the SourceMod section of the forum.


All times are GMT -4. The time now is 07:33.

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