SA-MP Forums Archive
[Ajuda] Objeto so aparece de perto - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Objeto so aparece de perto (/showthread.php?tid=522956)



Objeto so aparece de perto - victorlus - 30.06.2014

Galera eu quero uma ajuda o Objeto so aparece so de perto de muito perto qse do lado


PHP код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
CreateDynamicObject(191291280.55969, -823.8275882.13050,   0.000000.000000.00000);
CreateDynamicObject(160881280.59766, -831.4002780.39077,   0.000000.00000269.80997);
CreateDynamicObject(194301240.12463, -767.2528792.41136,   0.000000.0000091.59683);
CreateDynamicObject(194301250.87146, -767.2332292.41136,   0.000000.0000091.59683);
CreateDynamicObject(30491250.03979, -767.2033192.09780,   0.00000180.00000181.00000);
CreateDynamicObject(30501240.92407, -767.3151992.11650,   0.00000180.000000.45920);
CreateDynamicObject(9831257.97534, -812.8791583.81880,   0.000000.00000358.71909);
CreateDynamicObject(9831303.90002, -797.2088683.83150,   0.000000.000000.00000);
CreateDynamicObject(181021275.69922, -829.1259887.47983,   0.000000.00000179.66710);
CreateDynamicObject(115441250.01917, -799.1549188.61620,   0.000000.0000088.59969);
CreateDynamicObject(115441255.97021, -799.3612788.59620,   0.000000.00000268.08041);
CreateDynamicObject(9681304.88367, -787.0206990.18370,   0.00000, -90.00000359.00000);
CreateDynamicObject(26321297.44885, -790.2347487.31175,   0.000000.000000.00000);
CreateDynamicObject(26311301.51245, -790.2176587.31271,   0.000000.000000.00000);
CreateDynamicObject(26291301.11133, -794.4074787.31298,   0.000000.00000269.34003);
CreateDynamicObject(26301295.98572, -788.0065387.31296,   0.000000.000000.37587);
CreateDynamicObject(26301291.63391, -785.7631287.31296,   0.000000.000000.37587);
CreateDynamicObject(26301297.47974, -787.9566087.31296,   0.000000.000000.37587);
CreateDynamicObject(29131301.65759, -794.8800088.26140,   0.0000089.0000090.85090);
CreateDynamicObject(26281296.13464, -785.5306487.32675,   0.000000.00000359.49594);
CreateDynamicObject(26281297.27209, -785.4274987.26770,   0.000000.00000359.49591);
CreateDynamicObject(19851301.23584, -786.9157790.12691,   0.000000.000000.00000);
CreateDynamicObject(19851299.38293, -786.8914290.12075,   0.000000.000000.00000);
CreateDynamicObject(26291299.66162, -796.4620487.31298,   0.000000.00000269.34003);
CreateDynamicObject(29131300.20618, -796.9617988.28140,   0.0000089.0000090.85090);
CreateDynamicObject(12151302.92871, -785.5058087.41408,   0.000000.000000.00000);
CreateDynamicObject(12151302.94629, -792.5983987.41408,   0.000000.000000.00000);
CreateDynamicObject(12151295.57800, -791.7736887.41408,   0.000000.000000.00000);
CreateDynamicObject(9681290.91321, -786.7582490.18370,   0.00000, -90.00000178.83569);
CreateDynamicObject(12151294.86218, -800.0271087.41408,   0.000000.000000.00000);
CreateDynamicObject(148041258.04346, -812.1196988.21889,   0.000000.000000.00000);
CreateDynamicObject(12151257.71179, -815.9853583.13660,   0.000000.000000.00000);
CreateDynamicObject(12151294.22815, -821.0070882.13411,   0.000000.000000.00000);
CreateDynamicObject(161511293.71387, -827.0578682.54175,   0.000000.000000.72135);
CreateDynamicObject(193811289.71631, -828.9903682.09390,   0.0000090.000000.00000);
CreateDynamicObject(193811289.58313, -819.3580982.09390,   0.0000090.000000.00000);
CreateDynamicObject(22321290.28333, -833.4506876.79105,   0.000000.00000271.02289);
CreateDynamicObject(15941273.30054, -837.0512776.76386,   0.000000.000000.00000);
CreateDynamicObject(15941276.20239, -834.3466276.76386,   0.000000.000000.00000);
return 
1;




Re: Objeto so aparece de perto - Gii - 30.06.2014

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Se nгo me engano Float:drawdistance й o parвmetro responsбvel por isso.

Exemplo:

pawn Код:
CreateDynamicObject(2629, 1301.11133, -794.40747, 87.31298, 0.00000, 0.00000, 269.34003, -1, -1, -1, 200.0, 500.0);



Re: Objeto so aparece de perto - victorlus - 30.06.2014

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Se nгo me engano Float:drawdistance й o parвmetro responsбvel por isso.

Exemplo:

pawn Код:
CreateDynamicObject(2629, 1301.11133, -794.40747, 87.31298, 0.00000, 0.00000, 269.34003, -1, -1, -1, 200.0, 500.0);
Nгo Funcionou Mano!


PHP код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
CreateDynamicObject(191291280.55969, -823.8275882.13050,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(160881280.59766, -831.4002780.39077,   0.000000.00000269.80997, -1, -1, -1200.0500.0);
CreateDynamicObject(194301240.12463, -767.2528792.41136,   0.000000.0000091.59683, -1, -1, -1200.0500.0);
CreateDynamicObject(194301250.87146, -767.2332292.41136,   0.000000.0000091.59683, -1, -1, -1200.0500.0);
CreateDynamicObject(30491250.03979, -767.2033192.09780,   0.00000180.00000181.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(30501240.92407, -767.3151992.11650,   0.00000180.000000.45920, -1, -1, -1200.0500.0);
CreateDynamicObject(9831257.97534, -812.8791583.81880,   0.000000.00000358.71909, -1, -1, -1200.0500.0);
CreateDynamicObject(9831303.90002, -797.2088683.83150,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(181021275.69922, -829.1259887.47983,   0.000000.00000179.66710, -1, -1, -1200.0500.0);
CreateDynamicObject(115441250.01917, -799.1549188.61620,   0.000000.0000088.59969, -1, -1, -1200.0500.0);
CreateDynamicObject(115441255.97021, -799.3612788.59620,   0.000000.00000268.08041, -1, -1, -1200.0500.0);
CreateDynamicObject(9681304.88367, -787.0206990.18370,   0.00000, -90.00000359.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(26321297.44885, -790.2347487.31175,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(26311301.51245, -790.2176587.31271,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(26291301.11133, -794.4074787.31298,   0.000000.00000269.34003, -1, -1, -1200.0500.0);
CreateDynamicObject(26301295.98572, -788.0065387.31296,   0.000000.000000.37587, -1, -1, -1200.0500.0);
CreateDynamicObject(26301291.63391, -785.7631287.31296,   0.000000.000000.37587, -1, -1, -1200.0500.0);
CreateDynamicObject(26301297.47974, -787.9566087.31296,   0.000000.000000.37587, -1, -1, -1200.0500.0);
CreateDynamicObject(29131301.65759, -794.8800088.26140,   0.0000089.0000090.85090, -1, -1, -1200.0500.0);
CreateDynamicObject(26281296.13464, -785.5306487.32675,   0.000000.00000359.49594, -1, -1, -1200.0500.0);
CreateDynamicObject(26281297.27209, -785.4274987.26770,   0.000000.00000359.49591, -1, -1, -1200.0500.0);
CreateDynamicObject(19851301.23584, -786.9157790.12691,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(19851299.38293, -786.8914290.12075,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(26291299.66162, -796.4620487.31298,   0.000000.00000269.34003, -1, -1, -1200.0500.0);
CreateDynamicObject(29131300.20618, -796.9617988.28140,   0.0000089.0000090.85090, -1, -1, -1200.0500.0);
CreateDynamicObject(12151302.92871, -785.5058087.41408,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151302.94629, -792.5983987.41408,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151295.57800, -791.7736887.41408,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(9681290.91321, -786.7582490.18370,   0.00000, -90.00000178.83569, -1, -1, -1200.0500.0);
CreateDynamicObject(12151294.86218, -800.0271087.41408,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(148041258.04346, -812.1196988.21889,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151257.71179, -815.9853583.13660,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151294.22815, -821.0070882.13411,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(161511293.71387, -827.0578682.54175,   0.000000.000000.72135, -1, -1, -1200.0500.0);
CreateDynamicObject(193811289.71631, -828.9903682.09390,   0.0000090.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(193811289.58313, -819.3580982.09390,   0.0000090.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(22321290.28333, -833.4506876.79105,   0.000000.00000271.02289, -1, -1, -1200.0500.0);
CreateDynamicObject(15941273.30054, -837.0512776.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(15941276.20239, -834.3466276.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(15941279.48743, -836.6744476.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(15941282.05310, -834.1958676.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(15941284.77808, -836.9282876.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(15941287.26611, -834.0564076.76386,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151270.93323, -838.1983076.26249,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(12151278.36353, -831.0288176.26249,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(14811290.03479, -835.8477876.92710,   0.000000.00000268.93399, -1, -1, -1200.0500.0);
CreateDynamicObject(14811290.03418, -836.8886176.92710,   0.000000.00000268.93399, -1, -1, -1200.0500.0);
CreateDynamicObject(14811290.01196, -837.9483676.92710,   0.000000.00000268.93399, -1, -1, -1200.0500.0);
CreateDynamicObject(28041290.03674, -836.9448277.07980,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(28041290.01587, -837.9646077.07980,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(28041290.03796, -835.8848377.07980,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16421274.83679, -799.5154487.37864,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16421276.62109, -799.5609787.37864,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16431278.41260, -799.4219487.31048,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16431280.17261, -799.4526487.31048,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16411281.90015, -799.4898787.31031,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16411283.62451, -799.5029387.31031,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16451272.89258, -799.4772987.41030,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(16451271.19055, -799.4772387.41030,   0.000000.000000.00000, -1, -1, -1200.0500.0);
CreateDynamicObject(13681269.14490, -824.7554382.85323,   0.000000.0000089.17142, -1, -1, -1200.0500.0);
CreateDynamicObject(13681269.13953, -827.3389982.85323,   0.000000.0000089.17142, -1, -1, -1200.0500.0);
return 
1;