CreatObject Essue
#1

HEllo Scripters ;

Why more Then 2000 Object don't be showed on my server
Reply
#2

https://sampwiki.blast.hk/wiki/Limits

Objects 1000

You can use Incognito's Streamer plugin for more objects though.
Reply
#3

Where i can Find " ncognito's Streamer plugin " Please
Reply
#4

******..

Next time, just search!

Click me.
Reply
#5

Dam Didn't Work For me :/ Any help Plz
Reply
#6

there you go:
http://code.******.com/p/samp-stream...downloads/list


remember to add streamer or streamer.so to your .cfg file
Reply
#7

Quote:
Originally Posted by mini_mi
Посмотреть сообщение
Dam Didn't Work For me :/ Any help Plz
After loading streamer plugin and including its include file to your mode, you'll need to convert CreateObject to CreateDynamicObject.
Reply
#8

Guys Worked With CreateDynamicObject but Objects Don't show just if u came close to it and vehicles fail on water
Reply
#9

Quote:
Originally Posted by mini_mi
Посмотреть сообщение
Guys Worked With CreateDynamicObject but Objects Don't show just if u came close to it and vehicles fail on water
It's a problem with CreateDynamicObject() you can use CreateDynamicObjectEx()


Here is a alternative CreateDynamicObject() stock the value you want is the drawdistance

pawn Код:
stock AddDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0, Float:drawdistance = 300.0)
{
    new oid;
    oid = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance);
    Streamer_SetFloatData(STREAMER_TYPE_OBJECT, oid, E_STREAMER_DRAW_DISTANCE, drawdistance);
    return oid;
}
Reply
#10

Warning :P " warning 213: tag mismatch "
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)