Szerző Téma: streamer  (Megtekintve 1331 alkalommal)

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Dátum: 2011. november 06. - 18:31:08 »
0 Show voters
üdv streamert szeretnék berakni szerverembe mindent megcsináltam gamemod ba beírtam hogy #include <streamer> felülre cfg be beírtam hogy plugins streamer.dll (házi szeró) de nem tudom hogy .inc be hova kell berakni az objecteket? köszi !!

Nem elérhető Csabesz

  • 7827
    • Profil megtekintése
streamer
« Válasz #1 Dátum: 2011. november 06. - 18:32:33 »
0 Show voters
nem *.inc -be kell berakni hanem a módba/szkriptbe.
Ha a módba szeretnéd rakni, akkor -OnGameModeInit ha szkriptbe akkor OnFilterScriptInit

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #2 Dátum: 2011. november 06. - 18:34:08 »
0 Show voters
és most berakok objecteked a mod ba azt CreateDynamicObject re kell convertálni és mehet mapba? végtelen object?

Nem elérhető JackBronson

  • 1499
  • ??
    • Profil megtekintése
streamer
« Válasz #3 Dátum: 2011. november 06. - 18:36:49 »
0 Show voters
Igen mehet a mappa.
Nemtudom,h végtelen objektet elbir e :D
Nekem 20k objektem van (Nem én csináltam a többségét)
De szerintem 30k-t simán elbir tovább nemtom.

Nem elérhető lusta19

  • 9084
  • £u$taÐi$znó
    • Profil megtekintése
streamer
« Válasz #4 Dátum: 2011. november 06. - 18:42:22 »
0 Show voters
Elvileg végtelen csak majd lassan tölti be ha kurva sok van
nekem lassan 40000 objeckt van  ;)

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #5 Dátum: 2011. november 06. - 18:48:20 »
0 Show voters
[pawn]
#include <a_samp>
#include <streamer>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateDynamicObject(9325, -2606.7727050781, 2258.1098632813, 13.27787399292, 0, 0, 0);
CreateDynamicObject(11490, -2450.6076660156, 2232.9143066406, 3.7986536026001, 0, 0, 230.97497558594);
CreateDynamicObject(11491, -2459.2478027344, 2239.8029785156, 5.2937507629395, 0, 0, 230.97497558594);
CreateDynamicObject(1717, -2452.0581054688, 2238.6384277344, 5.2314677238464, 1.9849853515625, 1.9850158691406, 274.64501953125);
CreateDynamicObject(1745, -2452.2543945313, 2232.8786621094, 5.2564659118652, 0, 0, 140.18502807617);
CreateDynamicObject(1828, -2452.8754882813, 2235.5847167969, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2130, -2447.8369140625, 2236.0998535156, 5.2314658164978, 0, 0, 321.01998901367);
CreateDynamicObject(2127, -2446.1926269531, 2234.8166503906, 5.1814656257629, 0, 358.01501464844, 319.54998779297);
CreateDynamicObject(2226, -2447.7875976563, 2236.1374511719, 6.2812609672546, 0, 0, 0);
CreateDynamicObject(2229, -2452.1279296875, 2239.6440429688, 5.2064657211304, 0, 0, 0);
CreateDynamicObject(2229, -2449.9482421875, 2237.4365234375, 5.2814660072327, 0, 0, 302.43499755859);
CreateDynamicObject(2415, -2456.8605957031, 2237.7163085938, 13.829545021057, 0, 0, 320.29998779297);
CreateDynamicObject(2421, -2445.9619140625, 2231.9221191406, 6.5980019569397, 0, 0, 228.71997070313);
CreateDynamicObject(2627, -2449.6838378906, 2229.3996582031, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2628, -2451.8403320313, 2229.4675292969, 5.3064661026001, 0, 0, 154.83001708984);
CreateDynamicObject(2629, -2448.7265625, 2232.4228515625, 5.3064661026001, 0, 0, 274.64498901367);
CreateDynamicObject(2630, -2455.7731933594, 2243.4997558594, 5.2980680465698, 0, 0, 0);
CreateDynamicObject(1824, -2457.9189453125, 2240.6130371094, 5.8090534210205, 0, 0, 0);
CreateDynamicObject(619, -2466.2109375, 2214.0446777344, 3.9843769073486, 0, 0, 0);
CreateDynamicObject(619, -2475.287109375, 2213.607421875, 3.9843730926514, 0, 0, 0);
CreateDynamicObject(619, -2483.7233886719, 2213.7211914063, 3.984375, 0, 0, 0);
CreateDynamicObject(619, -2491.966796875, 2213.9143066406, 3.984375, 0, 0, 0);
CreateDynamicObject(3439, -2461.7412109375, 2231.6762695313, 7.9570999145508, 0, 0, 0);
return 1;
}
#endif[/pawn]
ez a scriptem beírtam scriptnek és nem adja be az objecteket

streamer
« Válasz #6 Dátum: 2011. november 06. - 18:56:47 »
0 Show voters
Idézetet írta: buci11 date=1320601700\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"13161\" data-ipsquote-contentclass=\"forums_Topic
[pawn]
#include <a_samp>
#include <streamer>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateDynamicObject(9325, -2606.7727050781, 2258.1098632813, 13.27787399292, 0, 0, 0);
CreateDynamicObject(11490, -2450.6076660156, 2232.9143066406, 3.7986536026001, 0, 0, 230.97497558594);
CreateDynamicObject(11491, -2459.2478027344, 2239.8029785156, 5.2937507629395, 0, 0, 230.97497558594);
CreateDynamicObject(1717, -2452.0581054688, 2238.6384277344, 5.2314677238464, 1.9849853515625, 1.9850158691406, 274.64501953125);
CreateDynamicObject(1745, -2452.2543945313, 2232.8786621094, 5.2564659118652, 0, 0, 140.18502807617);
CreateDynamicObject(1828, -2452.8754882813, 2235.5847167969, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2130, -2447.8369140625, 2236.0998535156, 5.2314658164978, 0, 0, 321.01998901367);
CreateDynamicObject(2127, -2446.1926269531, 2234.8166503906, 5.1814656257629, 0, 358.01501464844, 319.54998779297);
CreateDynamicObject(2226, -2447.7875976563, 2236.1374511719, 6.2812609672546, 0, 0, 0);
CreateDynamicObject(2229, -2452.1279296875, 2239.6440429688, 5.2064657211304, 0, 0, 0);
CreateDynamicObject(2229, -2449.9482421875, 2237.4365234375, 5.2814660072327, 0, 0, 302.43499755859);
CreateDynamicObject(2415, -2456.8605957031, 2237.7163085938, 13.829545021057, 0, 0, 320.29998779297);
CreateDynamicObject(2421, -2445.9619140625, 2231.9221191406, 6.5980019569397, 0, 0, 228.71997070313);
CreateDynamicObject(2627, -2449.6838378906, 2229.3996582031, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2628, -2451.8403320313, 2229.4675292969, 5.3064661026001, 0, 0, 154.83001708984);
CreateDynamicObject(2629, -2448.7265625, 2232.4228515625, 5.3064661026001, 0, 0, 274.64498901367);
CreateDynamicObject(2630, -2455.7731933594, 2243.4997558594, 5.2980680465698, 0, 0, 0);
CreateDynamicObject(1824, -2457.9189453125, 2240.6130371094, 5.8090534210205, 0, 0, 0);
CreateDynamicObject(619, -2466.2109375, 2214.0446777344, 3.9843769073486, 0, 0, 0);
CreateDynamicObject(619, -2475.287109375, 2213.607421875, 3.9843730926514, 0, 0, 0);
CreateDynamicObject(619, -2483.7233886719, 2213.7211914063, 3.984375, 0, 0, 0);
CreateDynamicObject(619, -2491.966796875, 2213.9143066406, 3.984375, 0, 0, 0);
CreateDynamicObject(3439, -2461.7412109375, 2231.6762695313, 7.9570999145508, 0, 0, 0);
return 1;
}
#endif[/pawn]
ez a scriptem beírtam scriptnek és nem adja be az objecteket
 
Betöltötted a scriptet és le compilezted(létre van hozva az amx kiterjesztésû fájl)?

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #7 Dátum: 2011. november 06. - 19:03:34 »
0 Show voters
igen

Nem elérhető JackBronson

  • 1499
  • ??
    • Profil megtekintése
streamer
« Válasz #8 Dátum: 2011. november 06. - 19:04:27 »
0 Show voters
Modban próbáltad?

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #9 Dátum: 2011. november 06. - 19:07:31 »
0 Show voters
még nem megnézem

streamer
« Válasz #10 Dátum: 2011. november 06. - 19:08:31 »
0 Show voters
Így tedd a scriptbe:
[pawn]#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
CreateDynamicObject(9325, -2606.7727050781, 2258.1098632813, 13.27787399292, 0, 0, 0);
CreateDynamicObject(11490, -2450.6076660156, 2232.9143066406, 3.7986536026001, 0, 0, 230.97497558594);
CreateDynamicObject(11491, -2459.2478027344, 2239.8029785156, 5.2937507629395, 0, 0, 230.97497558594);
CreateDynamicObject(1717, -2452.0581054688, 2238.6384277344, 5.2314677238464, 1.9849853515625, 1.9850158691406, 274.64501953125);
CreateDynamicObject(1745, -2452.2543945313, 2232.8786621094, 5.2564659118652, 0, 0, 140.18502807617);
CreateDynamicObject(1828, -2452.8754882813, 2235.5847167969, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2130, -2447.8369140625, 2236.0998535156, 5.2314658164978, 0, 0, 321.01998901367);
CreateDynamicObject(2127, -2446.1926269531, 2234.8166503906, 5.1814656257629, 0, 358.01501464844, 319.54998779297);
CreateDynamicObject(2226, -2447.7875976563, 2236.1374511719, 6.2812609672546, 0, 0, 0);
CreateDynamicObject(2229, -2452.1279296875, 2239.6440429688, 5.2064657211304, 0, 0, 0);
CreateDynamicObject(2229, -2449.9482421875, 2237.4365234375, 5.2814660072327, 0, 0, 302.43499755859);
CreateDynamicObject(2415, -2456.8605957031, 2237.7163085938, 13.829545021057, 0, 0, 320.29998779297);
CreateDynamicObject(2421, -2445.9619140625, 2231.9221191406, 6.5980019569397, 0, 0, 228.71997070313);
CreateDynamicObject(2627, -2449.6838378906, 2229.3996582031, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2628, -2451.8403320313, 2229.4675292969, 5.3064661026001, 0, 0, 154.83001708984);
CreateDynamicObject(2629, -2448.7265625, 2232.4228515625, 5.3064661026001, 0, 0, 274.64498901367);
CreateDynamicObject(2630, -2455.7731933594, 2243.4997558594, 5.2980680465698, 0, 0, 0);
CreateDynamicObject(1824, -2457.9189453125, 2240.6130371094, 5.8090534210205, 0, 0, 0);
CreateDynamicObject(619, -2466.2109375, 2214.0446777344, 3.9843769073486, 0, 0, 0);
CreateDynamicObject(619, -2475.287109375, 2213.607421875, 3.9843730926514, 0, 0, 0);
CreateDynamicObject(619, -2483.7233886719, 2213.7211914063, 3.984375, 0, 0, 0);
CreateDynamicObject(619, -2491.966796875, 2213.9143066406, 3.984375, 0, 0, 0);
CreateDynamicObject(3439, -2461.7412109375, 2231.6762695313, 7.9570999145508, 0, 0, 0);
return 1;
}[/pawn]
#if defined FILTERSCRIPT rész megkérdezi létrehoztad-e a FILTERSCRIPT definíciót ezt te nem hoztad létre így egy üres .amx fájlt készítettél.
És mivel üres az .amx fájl nem csoda hogy nincs benn object.
« Utoljára szerkesztve: 2011. november 06. - 19:10:59 írta Zsolesszka »

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #11 Dátum: 2011. november 06. - 19:10:09 »
0 Show voters
mod ba mûködik (elmentem fürdeni 10-15 perc)

streamer
« Válasz #12 Dátum: 2011. november 06. - 19:31:22 »
0 Show voters
[pawn]#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
Objects();
return 1;
}
forward  Objects();
public Objects()
{
CreateDynamicObject(9325, -2606.7727050781, 2258.1098632813, 13.27787399292, 0, 0, 0);
CreateDynamicObject(11490, -2450.6076660156, 2232.9143066406, 3.7986536026001, 0, 0, 230.97497558594);
CreateDynamicObject(11491, -2459.2478027344, 2239.8029785156, 5.2937507629395, 0, 0, 230.97497558594);
CreateDynamicObject(1717, -2452.0581054688, 2238.6384277344, 5.2314677238464, 1.9849853515625, 1.9850158691406, 274.64501953125);
CreateDynamicObject(1745, -2452.2543945313, 2232.8786621094, 5.2564659118652, 0, 0, 140.18502807617);
CreateDynamicObject(1828, -2452.8754882813, 2235.5847167969, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2130, -2447.8369140625, 2236.0998535156, 5.2314658164978, 0, 0, 321.01998901367);
CreateDynamicObject(2127, -2446.1926269531, 2234.8166503906, 5.1814656257629, 0, 358.01501464844, 319.54998779297);
CreateDynamicObject(2226, -2447.7875976563, 2236.1374511719, 6.2812609672546, 0, 0, 0);
CreateDynamicObject(2229, -2452.1279296875, 2239.6440429688, 5.2064657211304, 0, 0, 0);
CreateDynamicObject(2229, -2449.9482421875, 2237.4365234375, 5.2814660072327, 0, 0, 302.43499755859);
CreateDynamicObject(2415, -2456.8605957031, 2237.7163085938, 13.829545021057, 0, 0, 320.29998779297);
CreateDynamicObject(2421, -2445.9619140625, 2231.9221191406, 6.5980019569397, 0, 0, 228.71997070313);
CreateDynamicObject(2627, -2449.6838378906, 2229.3996582031, 5.3064661026001, 0, 0, 0);
CreateDynamicObject(2628, -2451.8403320313, 2229.4675292969, 5.3064661026001, 0, 0, 154.83001708984);
CreateDynamicObject(2629, -2448.7265625, 2232.4228515625, 5.3064661026001, 0, 0, 274.64498901367);
CreateDynamicObject(2630, -2455.7731933594, 2243.4997558594, 5.2980680465698, 0, 0, 0);
CreateDynamicObject(1824, -2457.9189453125, 2240.6130371094, 5.8090534210205, 0, 0, 0);
CreateDynamicObject(619, -2466.2109375, 2214.0446777344, 3.9843769073486, 0, 0, 0);
CreateDynamicObject(619, -2475.287109375, 2213.607421875, 3.9843730926514, 0, 0, 0);
CreateDynamicObject(619, -2483.7233886719, 2213.7211914063, 3.984375, 0, 0, 0);
CreateDynamicObject(619, -2491.966796875, 2213.9143066406, 3.984375, 0, 0, 0);
CreateDynamicObject(3439, -2461.7412109375, 2231.6762695313, 7.9570999145508, 0, 0, 0);
return 1;
}[/pawn]

Nem elérhető buci11

  • 502
    • Profil megtekintése
streamer
« Válasz #13 Dátum: 2011. november 06. - 19:42:07 »
0 Show voters
ez jó köszi

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal