[INC+FS]Opa's Objectstreamer v 2.6.0
#1



[font=Lucida Sans][color=#000099]
Hi,
i want to present you my Objectstreamer,
i've been working on it for a small time and only released it in the german Samp-forum yet.
It's an Filterscript, which is controlled by the Gamemode or an other Filterscripts using remote functions. You only need to include a file. You needn't change functions, simply continue using CreateObject etc. Rcon-admins can change the settings ingame (/streamer). Moreover, you can set the objects virtual world. Now, it's also possible to make a player wait for the map to stream in without using a timer. NEW! Since version 2.5 there's an ingame-object-editor, too.

Ingame Object Editor
http://streamer.noch-schneller.de/

Functions
Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, virtualworld=1)
DestroyObject(objectid)
MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed)
SetObjectPos(objectid, Float:X, Float:Y, Float:Z)
SetObjectRot(objectid, Float:RotX, Float:RotY, Float:RotZ)
SetObjectVirtualWorld(objectid, virtualworld)
StopObject(objectid)
WaitForMap(playerid)
NEW! IsObjectStreamedIn(objectid,forplayerid)
WaitForMap will freeze the player, until the map is fully loaded. Completely without timer.
To create Objects without using the streamer, simply add an "-Ex" to the function, for example CreateObjectEx.

Callbacks
Код:
public OnObjectStreamIn(objectid,forplayerid)
public OnObjectStreamOut(objectid,forplayerid)
Callbacks need to be defined befor using (->Info+Installation.txt).

License
You may
- use the streamer
- change the streamer
- create mirrors (only with link here)
You mustn't
- remove the credits

You need
- SA:MP 0.3a server (not 0.2X)

Download
- http://ul.to/onm7e7

Installation
- Download Opa's Objektstreamer.rar and unpack
- look Info + Installation.txt

Questions + Bugs
- Simply answer here or PM me.

Changelog
1.0.0 - 1.4.0
- added StopObject.
- added "-Ex"-functions.
- opa_objects_fs.inc for filterscripts added.
- /streamer: Change the timer-time.
- opa_objects_fs.inc bugfix.
- Settings will be saved now (opa_objects.cfg).
- Logfile (opa_objects.log).
- WaitForMap function.

2.0.0
- /streamer: activate objectinfo (3D Texte).
- improoved speed.
- Bugfixes
- /delobj
- etc.

2.5.0
- /object: Ingame Object Editor.
- /streamer: save map (nach dem bearbeiten).
- /streamer: create objects.
- Callbacks
- Anti-CFG-Fail
- etc.

2.6.0
- IsObjectStreamedIn
- /saveobj + savedobjects.txt (/save for objects).
- Anti-CreateObjectEx-Crash.
- Important Bugfix with -Ex Functions.

Have fun!

Yours Little Grandpa
Reply
#2

Ehh i'm feelin insignificant
Reply
#3

It seems preey good and the good thing you dont need to convert your objects.Can you estimate a max of objects can be streamed at an area without lag?
Reply
#4

Ok how many objects this streamer load ..??
Reply
#5

You can Create as much objects as you want, it streams 254 Objects for each player. That's the Samp maximum (otherways it'll crash the client...)
Reply
#6

Quote:
Originally Posted by [Ger
Little_Grandpa ]
You can Create as much objects as you want, it streams 254 Objects for each player. That's the Samp maximum (otherways it'll crash the client...)
Ugh?
Reply
#7

In my server say this : You are not admin but i admin
how can i fix it ?
Reply
#8

lol
Type "/rcon login [your rcon pw]"

MfG

PS: @ Opa:

Yeah a german guy here || Ja hier ist ein Deutscher
Reply
#9

Quote:
Originally Posted by Shadow_Gengar
lol
Type "/rcon login [your rcon pw]"

MfG

PS: @ Opa:

Yeah a german guy here || Ja hier ist ein Deutscher
In your own server you are automaticly logged in in rcon i think.. And opa is Dutch for grandpa so maybe he is Dutch :P
Reply
#10

or he is belgium(hmm i dont very like belgiumsXD)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)