Beginner, Help with mapping - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Beginner, Help with mapping (
/showthread.php?tid=360401)
Beginner, Help with mapping -
OBSERVADOR - 17.07.2012
I add my maps into my server but they don't show up
This is how i do
Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
// Just a example of the way i add objects
CreateDynamicObject(987,2814.19995117,-1207.69995117,24.00000000,0.00000000,1.99951172,1.99951172); //object(elecfence_bar) (2)
return 1;
#endif
Re: Beginner, Help with mapping -
Dubya - 18.07.2012
If it IS NOT defined as a filterscript then you need to add it to: OnGameModeInit. OR... Add a "#define FILTERSCRIPT true" to the top.
Re: Beginner, Help with mapping -
HyDrAtIc - 18.07.2012
Compile Them LOL
Re: Beginner, Help with mapping -
Roperr - 18.07.2012
If you're using it in a gamemode,
Remove the following lines and the lines inbetween them:
#if defined FILTERSCRIPT
#endif
You also need to place the objects inside OnGameModeInit.
Good luck.