SA-MP Forums Archive
Including Scriptfile Folders (Need help). - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Including Scriptfile Folders (Need help). (/showthread.php?tid=613097)



Including Scriptfile Folders (Need help). - TheWickedNiggie - 24.07.2016

So yeah, today I decided to start learning about scripting, id like to ask when I compile the script it gives me a code which is as follows.

Quote:

C:\Users\Simba\Desktop\SERVER\pawno\OPTI.pwn(314) : fatal error 111: user error: Make sure you have ALL scriptfile folders! [Users -- Factions -- Vehicles -- Houses -- Labels -- Businesses] -- To remove this, CTRL +F "#error".


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

What am I meant to do here? I'm completely new at all of this still trying to figure it out by trial and error.


Re: Including Scriptfile Folders (Need help). - Stinged - 24.07.2016

It's just warning you before you run the script to make sure you have all the folders.
To remove that, just search (CTRL + F) for "#error" and delete that line.


Re: Including Scriptfile Folders (Need help). - Iqba - 24.07.2016

Try new/blank script and compile it then... I think that's from some gamemode and you deleted his Scriptfile folder...


Re: Including Scriptfile Folders (Need help). - ThatFag - 24.07.2016

At folder that you have stored pawno / gamemode and other things there is a folder called scriptfiles.
go there and create folders with given names


Re: Including Scriptfile Folders (Need help). - TheWickedNiggie - 24.07.2016

thanks stinged


Re: Including Scriptfile Folders (Need help). - Luicy. - 24.07.2016

You guys are kidding, right? Right...?
You have to add folders to scriptfiles whatever that error said like houses


Re: Including Scriptfile Folders (Need help). - AndySedeyn - 24.07.2016

Quote:
Originally Posted by Meller
Посмотреть сообщение
You guys are kidding, right? Right...?
You have to add folders to scriptfiles whatever that error said like houses
The error was put there to remind whoever compiles the script to put the folders there. It can't detect whether or not the folders are there during compile time - only during run time.