AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Yak's FAQs on Scripting (https://forums.alliedmods.net/showthread.php?t=94187)

theY4Kman 01-21-2010 22:50

Re: Yak's FAQs on Scripting
 
Done and done, =MaTi=. Thanks for letting me know about that :)

Bacardi 07-24-2010 04:59

error 010
 
2 Attachment(s)
*edit, read next post

psychonic 07-25-2010 18:37

Re: error 010
 
Quote:

Originally Posted by Bacardi (Post 1249891)
Error
Plugin_name.sp(#) : error 010 : invalid fuction or declaration
https://forums.alliedmods.net/attach...1&d=1279960804

This happen when file have saved different character encoding (Those are ASCII, UTF-8, ANSI etc. etc.).
This error appears when *.sp file have encoded to UTF-8 instead ANSI


Can be check with notepad++ and convert to other encode.
Can convert with notepad using save as... method
https://forums.alliedmods.net/attach...1&d=1279961716

FIX
Convert file to ANSI


*edit
I have maybe write bullsh*t but anyone is free to explain this in more detail.

The compiler error in the screenshot is from UTF-8 with BOM.
Both UTF-8 without BOM and ANSI are fine.

newbie550 11-16-2013 00:54

Re: Yak's FAQs on Scripting
 
could you make a tutorial on how to make a zombie class pls :)


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

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