03.02.2013, 12:15
SA:MP has vehicle streamer by default.
...pawno\include\streamer.inc(343) : error 017: undefined symbol "Streamer_OnPlayerSelectObject" ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : warning 215: expression has no effect ...pawno\include\streamer.inc(343) : error 001: expected token: ";", but found ")" ...pawno\include\streamer.inc(343) : error 029: invalid expression, assumed zero ...pawno\include\streamer.inc(343) : fatal error 107: too many error messages on one line |
Incognito in the future, can you make a vehicle streamer ? or just update this to be able to stream vehicles? will be great.
And thanks for the update. |
new objectid = CreateDynamicObjectEx(OBJECT_Model[i], OBJECT_PosX[i], OBJECT_PosY[i], OBJECT_PosZ[i], OBJECT_PosRX[i], OBJECT_PosRY[i], OBJECT_PosRZ[i], viewdistance, streamdistance);
argument type mismatch (argument 10)
new objectid = CreateDynamicObject(OBJECT_Model[i], OBJECT_PosX[i], OBJECT_PosY[i], OBJECT_PosZ[i], OBJECT_PosRX[i], OBJECT_PosRY[i], OBJECT_PosRZ[i], VIRTUAL_WORLD_WAIT);
#define VIRTUAL_WORLD_WAIT { 1 }
It's an array, so the number needs to be enclosed in braces. Example:
pawn Код:
|
OBJ_ParseObjectFile(filename[], world = -1)
CreateDynamicObjectEx(modelid, x, y, z, xr, y2, z3, distance, distance, VIRTUAL_WORLD_TIMETRIAL + playerid);
[11:22:55] Loading filterscript '€.amx'... [11:22:55] Unable to load filterscript '.amx'. [11:22:55] Loading filterscript 'ű.amx'... [11:22:55] Unable to load filterscript 'ű.amx'. [11:22:55] Loaded 2 filterscripts.
CreateDynamicObjectEx(7045,1550.0996100,-3296.7998000,10.0000000,0.0000000,0.0000000,0.0000000,400.0000000,400.0000000);
Hello, i have a problem with visible items.
I have about 700 objects in one place and i need to make them all visible at one time, but if i set max visible items to 700 it shows me maximum 556 objects (it's shown in the console, when i print CountVisibleItems), so the problem is, i can see only 556 objects of 700, any issues? Thank you. |
Incognito,
Can you help me: http://forum.sa-mp.com/showthread.ph...12#post2345012 this topic is related to Streamer Plugin... pls. |
// Loop through all of the map icons
for (new i = 1, j = Streamer_GetUpperBound(STREAMER_TYPE_MAP_ICON); i < j; i++)
{
// Check if the map icon is not the one you want to be visible
if (i != iconid)
{
// Hide the map icon by removing the player from it
Streamer_RemoveArrayData(STREAMER_TYPE_MAP_ICON, i, E_STREAMER_PLAYER_ID, playerid);
}
// Some time later, in a separate loop:
// Make the map icon visible again by adding the player back
Streamer_AppendArrayData(STREAMER_TYPE_MAP_ICON, i, E_STREAMER_PLAYER_ID, playerid);
}
That worked, my fault entirely. Thanks, that's race maps fixed.
What if the world is constantly changing? pawn Код:
pawn Код:
|
new worlds[1];
worlds[0] = VIRTUAL_WORLD_TIMETRIAL + playerid);
CreateDynamicObjectEx(modelid, x, y, z, xr, y2, z3, distance, distance, worlds);
new objectid = CreateDynamicObjectEx(modelid, x, y, z, xr, y2, z3, distance, distance);
Streamer_AppendArrayData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_WORLD_ID, VIRTUAL_WORLD_TIMETRIAL + playerid);
\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition \pawno\include\streamer.inc(304) : error 025: function heading differs from prototype