help with including file - 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: help with including file (
/showthread.php?tid=422221)
help with including file -
akki - 12.03.2013
hello i just downloaded filemanager:
https://sampforum.blast.hk/showthread.php?tid=92246
in this file i am unable to include the include file please help
it has two parts in it
one is include (filemanager.inc) and the other is a plugin (filemanager.dll)
tell me how to use both
Re: help with including file -
DiGiTaL_AnGeL - 12.03.2013
You put "filemanager.inc" in your "pawno/includes" folder and "filemanager.dll" in your "plugins" folder.
Re: help with including file -
akki - 12.03.2013
Quote:
Originally Posted by DiGiTaL_AnGeL
You put "filemanager.inc" in your "pawno/includes" folder and "filemanager.dll" in your "plugins" folder.
|
yup that is done and do i need to try to include these things in the script or server.cfg
if yes how?
Re: help with including file -
DiGiTaL_AnGeL - 12.03.2013
In server.cfg type "filemanager" at the "plugins" line
In your gm, include the library:
And then compile
Re: help with including file -
akki - 12.03.2013
Quote:
Originally Posted by DiGiTaL_AnGeL
In server.cfg type "filemanager" at the "plugins" line
In your gm, include the library:
And then compile
|
it shows up some fatal error on compiling
error:
Код:
D:\san andreas\server\gamemodes\flixter_rp.pwn(6) : fatal error 100: cannot read from file: "filemanager"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: help with including file -
DiGiTaL_AnGeL - 12.03.2013
You must put "filemanager.inc" in your "pawno/includes" folder but if you have more pawnos in your pc take care to put it in the right folder.
Re: help with including file -
akki - 12.03.2013
Quote:
Originally Posted by DiGiTaL_AnGeL
You must put "filemanager.inc" in your "pawno/includes" folder but if you have more pawnos in your pc take care to put it in the right folder.
|
thanks a lot it works now