SA-MP Forums Archive
[Solved]More Objects - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved]More Objects (/showthread.php?tid=127902)



[Solved]More Objects - r9x - 15.02.2010

Well i have a problem...


i have around 200 objects in my fgame mode and filterscripts together....

problem is i cant add more .. it dont shows the first added objects if i add more oO

i dunno about object streamer or whatever is there any other option than an objects streamer?

if not wich is the best and how it works?


Re: More Objects - BlackFoX - 15.02.2010

No there is no other way to solve this,
you must use an Object Streamer.

Idk what is the best but i use my own


Re: More Objects - yoan103 - 15.02.2010

You need an object streamer (object streamers prevent objects from dissapearing is that the issue)? So anyway use this site www.convertffs.com to convert mta maps to mido object stream, which you can download from here
http://forum.sa-mp.com/index.php?topic=62450.0


Re: More Objects - r9x - 15.02.2010

wow thnx

i hope this will work

if yes we will need soon some test users for our server =)

a lil preview information:

its an Action & Role Play server =)

we have some special event and so on ^^


Re: More Objects - n4pkill - 15.02.2010

Код:
my filterscript looks like:

[code
]#include <a_samp>
#include <MidoStream>

#define FILTERSCRIPT
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	CreateStreamObject(3258, 1940.148438, 2551.399902, 5.352435, 0.0000, 0.0000, 16.4839, 250.0); //
     ... (many objects, about 60)
	}

public OnFilterScriptExit()
{
	return 1;
}

#else
#endif
i compiled it with mido inc in the pwno directory
but the objects doesnt appear!

whats the matter?





Re: More Objects - yoan103 - 15.02.2010

remove #else #endif


Re: More Objects - n4pkill - 15.02.2010

Quote:
Originally Posted by yoan103
remove #else #endif
error 001: expected token: "#endif", but found "-end of file-"

#if defined FILTERSCRIPT has to b took away too^^


Re: More Objects - BlackFoX - 15.02.2010

#define FILTERSCRIPT
#if defined FILTERSCRIPT

you dont need that , you must only have the Callbacks OnFsinit and Onfsexit to try it as FilterScript


Re: More Objects - r9x - 15.02.2010

trying ^^

Код:
#include <a_samp>
#include <MidoStream>

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Death-Racing LV by Chaos_Reaper");
	print("--------------------------------------\n");


  //--------------------------DR-------------------------------------
	CreateStreamObject(3258, 1940.148438, 2551.399902, 5.352435, 0.0000, 0.0000, 16.4839, 250.0); //
	CreateStreamObject(3258, 1950.666138, 2514.731201, 5.401588, 0.0000, 0.0000, 16.4839, 250.0); //
	CreateStreamObject(3524, 1940.312012, 2549.848145, 10.463965, 0.0000, 22.3454, 292.5000, 250.0); //
	//-and more objects-----
	//--------------------------DR-end--------------------------------

	}

public OnFilterScriptExit()
{
	return 1;
}
but the objects are not visible =/


Re: More Objects - n4pkill - 15.02.2010

deleted it but dont work too lol