Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

am o problema la stremer


Question

Posted

Folosesc streamerul CreateDynamicObjects am facut tot ce trebuie am bagat plugins scriptul in fliter scripts si nustiu ce are de nu merge uitativa si voi

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <streamer>
new poarta1;

#if defined FILTERSCRIPT
#define COLOR_GRAD5 0xE3E3E3FF


#endif

public OnGameModeInit()
{

CreateDynamicObject(3749, 1103.1945800781, -1740.529296875, 18.356485366821, 0, 0, 92, 300);
CreateDynamicObject(4100, 1096.0686035156, -1731.8031005859, 14.479863166809, 0, 0, 320, 300);
CreateDynamicObject(4100, 1082.6395263672, -1731.7521972656, 14.479863166809, 0, 0, 319.99877929688, 300);
CreateDynamicObject(4100, 1070.1453857422, -1731.6722412109, 14.479863166809, 0, 0, 319.99877929688, 300);
CreateDynamicObject(4100, 1064.3099365234, -1731.6430664063, 14.471730232239, 0, 0, 319.99877929688, 300);
CreateDynamicObject(4100, 1054.2427978516, -1738.3286132813, 14.465851783752, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1054.2413330078, -1750.8422851563, 14.42609500885, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1054.2650146484, -1764.0162353516, 14.384781837463, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1054.2375488281, -1774.5889892578, 14.35062789917, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1076.2530517578, -1782.0650634766, 14.341751098633, 0, 0, 139.99829101563, 300);
CreateDynamicObject(4100, 1062.8278808594, -1782.0552978516, 14.341729164124, 0, 0, 139.99328613281, 300);
CreateDynamicObject(4100, 1060.7159423828, -1782.0657958984, 14.341752052307, 0, 0, 139.99328613281, 300);
CreateDynamicObject(4100, 1089.0339355469, -1782.1203613281, 14.341872215271, 0, 0, 139.99328613281, 300);
CreateDynamicObject(4100, 1099.8380126953, -1782.0897216797, 14.341805458069, 0, 0, 139.99328613281, 300);
CreateDynamicObject(4100, 1061.767578125, -1731.6215820313, 14.465435028076, 0, 0, 319.99877929688, 300);
CreateDynamicObject(4100, 1106.9235839844, -1774.9493408203, 14.278335571289, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1107.0069580078, -1762.6704101563, 14.275288581848, 0, 0, 49.998779296875, 300);
CreateDynamicObject(4100, 1107.0046386719, -1756.9481201172, 14.275277137756, 0, 0, 49.998779296875, 300);
CreateDynamicObject(2898, 1098.5925292969, -1779.6478271484, 12.601581573486, 0, 0, 92, 300);
CreateDynamicObject(2898, 1084.0377197266, -1779.970703125, 12.609625816345, 0, 0, 89.99951171875, 300);
CreateDynamicObject(2898, 1066.6037597656, -1779.8248291016, 12.6059923172, 0, 0, 89.994506835938, 300);
CreateDynamicObject(2898, 1056.2058105469, -1769.2518310547, 12.635885238647, 0, 0, 181.99450683594, 300);
CreateDynamicObject(2898, 1056.7009277344, -1748.6185302734, 12.696884155273, 0, 0, 181.99401855469, 300);
CreateDynamicObject(2898, 1068.0341796875, -1733.8179931641, 12.747820854187, 0, 0, 269.98901367188, 300);
CreateDynamicObject(2898, 1087.8745117188, -1733.8216552734, 12.800135612488, 0, 0, 269.98901367188, 300);
CreateDynamicObject(2898, 1104.4332275391, -1758.474609375, 12.569931030273, 0, 0, 358, 300);
CreateDynamicObject(3505, 1103.9462890625, -1757.9089355469, 12.599858283997, 0, 0, 0, 300);
CreateDynamicObject(3505, 1098.330078125, -1779.3435058594, 12.631508827209, 0, 0, 0, 300);
CreateDynamicObject(3505, 1083.9027099609, -1778.9176025391, 12.639553070068, 0, 0, 0, 300);
CreateDynamicObject(3505, 1066.5261230469, -1779.1669921875, 12.635919570923, 0, 0, 0, 300);
CreateDynamicObject(3505, 1055.8801269531, -1768.8386230469, 12.665812492371, 0, 0, 0, 300);
CreateDynamicObject(3505, 1056.8226318359, -1748.5909423828, 12.726811408997, 0, 0, 0, 300);
CreateDynamicObject(3505, 1068.1783447266, -1733.5631103516, 12.77774810791, 0, 0, 0, 300);
CreateDynamicObject(3505, 1087.4029541016, -1733.9813232422, 12.830062866211, 0, 0, 0, 300);
CreateDynamicObject(3515, 1083.4187011719, -1750.0895996094, 14.834215164185, 0, 0, 0, 300);
CreateDynamicObject(3515, 1077.6658935547, -1750.3392333984, 14.851503372192, 0, 0, 0, 300);
CreateDynamicObject(3524, 1105.9073486328, -1749.4938964844, 15.454591751099, 0, 0, 90, 300);
CreateDynamicObject(3524, 1105.5104980469, -1733.7570800781, 15.663534164429, 0, 0, 90, 300);
CreateDynamicObject(3528, 1106.3110351563, -1745.7113037109, 21.043222427368, 0, 0, 0, 300);
CreateDynamicObject(3528, 1106.3110351563, -1737.0964355469, 21.045021057129, 0, 0, 0, 300);
CreateDynamicObject(3525, 1103.5992431641, -1735.7071533203, 15.860425949097, 0, 0, 0, 300);
CreateDynamicObject(3525, 1103.8795166016, -1747.3580322266, 15.887420654297, 0, 0, 146, 300);
 poarta1 =CreateDynamicObject(980, 1103.322265625, -1740.64453125, 15.266855239868, 0, 0, 270, 300);
CreateDynamicObject(1413, 1104.3233642578, -1750.3560791016, 13.90207195282, 0, 0, 182, 300);
CreateVehicle(565, 1080.0339355469, -1772.0682373047, 13.044127464294, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3006591797, -1769.6671142578, 13.049404144287, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3432617188, -1767.0004882813, 13.055265426636, 270, -1, -1, 1000);
CreateVehicle(565, 1080.4641113281, -1763.9263916016, 13.062022209167, 270, -1, -1, 1000);
CreateVehicle(565, 1080.7615966797, -1760.9963378906, 13.068460464478, 270, -1, -1, 1000);
CreateVehicle(565, 1080.7348632813, -1758.2436523438, 13.074511528015, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3837890625, -1755.2973632813, 13.080986022949, 270, -1, -1, 1000);

return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/poartainchisa", true))
{
MoveObject(poarta1, -1103.322265625, -1740.64453125, 15.266855239868, 10);
return 1;
}
if(!strcmp(cmdtext, "/movedeschisa", true))
{
MoveObject(poarta1, -1103.322265625, -1740.64453125, 5.266855239868, 10);
SendClientMessage(playerid, 0xE3E3E3FF, " Pentru a inchide poarta scrie /poartainchisa daca nu vei inchide poarta vei primi warn 3 ");

return 1;
}
return 0;
}

5 answers to this question

Recommended Posts

Posted

Vezi acuma ...

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <streamer>
new poarta1;

#if defined FILTERSCRIPT
#define COLOR_GRAD5 0xE3E3E3FF


#endif

public OnGameModeInit()
{
CreateDynamicObject(3749, 1103.1945800781, -1740.529296875, 18.356485366821, 0, 0, 92, 300,-1,-1, 200);
CreateDynamicObject(4100, 1096.0686035156, -1731.8031005859, 14.479863166809, 0, 0, 320, 300,-1,-1, 200);
CreateDynamicObject(4100, 1082.6395263672, -1731.7521972656, 14.479863166809, 0, 0, 319.99877929688, 300,-1,-1, 200);
CreateDynamicObject(4100, 1070.1453857422, -1731.6722412109, 14.479863166809, 0, 0, 319.99877929688, 300,-1,-1, 200);
CreateDynamicObject(4100, 1064.3099365234, -1731.6430664063, 14.471730232239, 0, 0, 319.99877929688, 300,-1,-1, 200);
CreateDynamicObject(4100, 1054.2427978516, -1738.3286132813, 14.465851783752, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1054.2413330078, -1750.8422851563, 14.42609500885, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1054.2650146484, -1764.0162353516, 14.384781837463, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1054.2375488281, -1774.5889892578, 14.35062789917, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1076.2530517578, -1782.0650634766, 14.341751098633, 0, 0, 139.99829101563, 300,-1,-1, 200);
CreateDynamicObject(4100, 1062.8278808594, -1782.0552978516, 14.341729164124, 0, 0, 139.99328613281, 300,-1,-1, 200);
CreateDynamicObject(4100, 1060.7159423828, -1782.0657958984, 14.341752052307, 0, 0, 139.99328613281, 300,-1,-1, 200);
CreateDynamicObject(4100, 1089.0339355469, -1782.1203613281, 14.341872215271, 0, 0, 139.99328613281, 300,-1,-1, 200);
CreateDynamicObject(4100, 1099.8380126953, -1782.0897216797, 14.341805458069, 0, 0, 139.99328613281, 300,-1,-1, 200);
CreateDynamicObject(4100, 1061.767578125, -1731.6215820313, 14.465435028076, 0, 0, 319.99877929688, 300,-1,-1, 200);
CreateDynamicObject(4100, 1106.9235839844, -1774.9493408203, 14.278335571289, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1107.0069580078, -1762.6704101563, 14.275288581848, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(4100, 1107.0046386719, -1756.9481201172, 14.275277137756, 0, 0, 49.998779296875, 300,-1,-1, 200);
CreateDynamicObject(2898, 1098.5925292969, -1779.6478271484, 12.601581573486, 0, 0, 92, 300,-1,-1, 200);
CreateDynamicObject(2898, 1084.0377197266, -1779.970703125, 12.609625816345, 0, 0, 89.99951171875, 300,-1,-1, 200);
CreateDynamicObject(2898, 1066.6037597656, -1779.8248291016, 12.6059923172, 0, 0, 89.994506835938, 300,-1,-1, 200);
CreateDynamicObject(2898, 1056.2058105469, -1769.2518310547, 12.635885238647, 0, 0, 181.99450683594, 300,-1,-1, 200);
CreateDynamicObject(2898, 1056.7009277344, -1748.6185302734, 12.696884155273, 0, 0, 181.99401855469, 300,-1,-1, 200);
CreateDynamicObject(2898, 1068.0341796875, -1733.8179931641, 12.747820854187, 0, 0, 269.98901367188, 300,-1,-1, 200);
CreateDynamicObject(2898, 1087.8745117188, -1733.8216552734, 12.800135612488, 0, 0, 269.98901367188, 300,-1,-1, 200);
CreateDynamicObject(2898, 1104.4332275391, -1758.474609375, 12.569931030273, 0, 0, 358, 300,-1,-1, 200);
CreateDynamicObject(3505, 1103.9462890625, -1757.9089355469, 12.599858283997, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1098.330078125, -1779.3435058594, 12.631508827209, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1083.9027099609, -1778.9176025391, 12.639553070068, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1066.5261230469, -1779.1669921875, 12.635919570923, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1055.8801269531, -1768.8386230469, 12.665812492371, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1056.8226318359, -1748.5909423828, 12.726811408997, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1068.1783447266, -1733.5631103516, 12.77774810791, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3505, 1087.4029541016, -1733.9813232422, 12.830062866211, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3515, 1083.4187011719, -1750.0895996094, 14.834215164185, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3515, 1077.6658935547, -1750.3392333984, 14.851503372192, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3524, 1105.9073486328, -1749.4938964844, 15.454591751099, 0, 0, 90, 300,-1,-1, 200);
CreateDynamicObject(3524, 1105.5104980469, -1733.7570800781, 15.663534164429, 0, 0, 90, 300,-1,-1, 200);
CreateDynamicObject(3528, 1106.3110351563, -1745.7113037109, 21.043222427368, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3528, 1106.3110351563, -1737.0964355469, 21.045021057129, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3525, 1103.5992431641, -1735.7071533203, 15.860425949097, 0, 0, 0, 300,-1,-1, 200);
CreateDynamicObject(3525, 1103.8795166016, -1747.3580322266, 15.887420654297, 0, 0, 146, 300,-1,-1, 200);
poarta1 =CreateDynamicObject(980, 1103.322265625, -1740.64453125, 15.266855239868, 0, 0, 270, 300,-1,-1, 200);
CreateDynamicObject(1413, 1104.3233642578, -1750.3560791016, 13.90207195282, 0, 0, 182, 300,-1,-1, 200);
CreateVehicle(565, 1080.0339355469, -1772.0682373047, 13.044127464294, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3006591797, -1769.6671142578, 13.049404144287, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3432617188, -1767.0004882813, 13.055265426636, 270, -1, -1, 1000);
CreateVehicle(565, 1080.4641113281, -1763.9263916016, 13.062022209167, 270, -1, -1, 1000);
CreateVehicle(565, 1080.7615966797, -1760.9963378906, 13.068460464478, 270, -1, -1, 1000);
CreateVehicle(565, 1080.7348632813, -1758.2436523438, 13.074511528015, 270, -1, -1, 1000);
CreateVehicle(565, 1080.3837890625, -1755.2973632813, 13.080986022949, 270, -1, -1, 1000);
return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/poartainchisa", true))
{
MoveDynamicObject(poarta1, -1103.322265625, -1740.64453125, 15.266855239868, 10);
return 1;
}
if(!strcmp(cmdtext, "/movedeschisa", true))
{
MoveDynamicObject(poarta1, -1103.322265625, -1740.64453125, 5.266855239868, 10);
SendClientMessage(playerid, 0xE3E3E3FF, " Pentru a inchide poarta scrie /poartainchisa daca nu vei inchide poarta vei primi warn 3 ");

return 1;
}
return 0;
}

i0418xcttya707ofg.jpg

Posted

dar dc ai pus cu -1 etc? imi poti explica?

Pai ultimele 3 sunt  interiorid = -1, playerid = -1, distanta la care sa se vada obiectu = 200

i0418xcttya707ofg.jpg

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.