SA-MP Forums Archive
Mapping Simple 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: Mapping Simple Help (/showthread.php?tid=385889)



Mapping Simple Help - Pokiri_Boii - 18.10.2012

Hey Guyz..

I just need to make a Filterscript with a map in it..!! I opened pawn.exe , click on new , cleared everything .. then i added this ... and when i start the server it says Unable to load TheBossHouse.amx

So , here is the code i did

[CODE#define FILTERSCRIPT
#include <a_samp>

public OnFilterScriptInit()
CreateObject (Blah .. Blah.. )
The rest of them
return 1;
}
{/CODE]

I saved it as a filterscript but it cant run .. !! why ?


Re: Mapping Simple Help - XtremeR - 18.10.2012

use this if u want as a FS:
pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
//objects here
    return 1;
}
or u can also use it as an include..


Re: Mapping Simple Help - Gamer_007 - 18.10.2012

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
use this if u want as a FS:
pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
//objects here
    return 1;
}
or u can also use it as an include..
Use this.i also use this xD


Re: Mapping Simple Help - Pokiri_Boii - 19.10.2012

So No need.. #define filterscript ... ?


Re: Mapping Simple Help - XtremeR - 19.10.2012

well, its not needed.. maybe thats why ur objects aint workin..


Re: Mapping Simple Help - RanSEE - 19.10.2012

Can you define it clearly?
Is it compiled well?


Re: Mapping Simple Help - Pokiri_Boii - 19.10.2012

Yes, It's Compiled Well .. !! See when I open samp-server.exe ... it says it cant load the Filterscript Thebosshouse.amx


Re: Mapping Simple Help - Abhishek. - 19.10.2012

well check wheather the TheBossHouse.amx is there in filterscript folder


Re: Mapping Simple Help - RanSEE - 19.10.2012

Ehm, its a bit tough to forecast about the problem, without seeing the code.
Post everything except the objects part, will ya?
Try streamer aswell.


Re: Mapping Simple Help - Pokiri_Boii - 19.10.2012

The Code is already there in the post .. !!

If yew want again See..

Код:
#include <a_samp>

public OnFilterScriptInit()
{
 CreateObject (Blah Blah... ) 
 Rest Here
 return 1;
}
and when i open sampserver.exe

it says like this !
Код:
[13:36:40] 
[13:36:40] Filterscripts
[13:36:40] ---------------
[13:36:40]   Loading filterscript 'TheBossHouse.amx'...
[13:36:40]   Unable to load filterscript 'TheBossHouse.amx'.
[13:36:40]   Loaded 0 filterscripts.
I am using SATDM v11.5 By $$$Pimp