Streamer Issues - Important
#1

Alright, so i have added in multiple maps and added in gates. Now this is all run on Incognito's Streamer the latest version. Upon typing /dooropen for the prison, Everything works fine. The doors split but another set of gates and doors appear in the moving objects area the same ID, Same POS, while the moving object has moved. There is no double doors in the script they just appear. We have tried everything and nothing works our code is below:

New:
Quote:

new pdoor1;
new pdoor2;
new pdoor3;
new pdoor4;
new edoor5;
new edoor6;

Created Objects:
Quote:

pdoor1 = CreateDynamicObject(1495, 1808.76, -1547.63, 5699.42, 0.00, 0.00, 0.00);
pdoor2 = CreateDynamicObject(1495, 1811.76, -1547.61, 5699.42, 0.00, 0.00, 180.00);
pdoor3 = CreateDynamicObject(1495, 1811.74, -1545.83, 5699.42, 0.00, 0.00, 180.00);
pdoor4 = CreateDynamicObject(1495, 1808.73, -1545.87, 5699.42, 0.00, 0.00, 0.00);
edoor5 = CreateDynamicObject(1495, 1797.01, -1525.15, 5699.42, 0.00, 0.00, 180.00);
edoor6 = CreateDynamicObject(1495, 1794.01, -1525.19, 5699.42, 0.00, 0.00, 360.00);

Command Code:
Quote:

CMD:dooropen(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 5 && !PlayerInfo[playerid][pFacMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
if(!IsACop(playerid) && !IsAGov(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSFD Oficer.");
if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287))
{
MoveDynamicObject(pdoor3,1811.73828125+1,-1545.82873535,5699.42480469,0.50);
MoveDynamicObject(pdoor4,1808.73071289-1,-1545.87463379,5699.42480469,0.50);
return 1;
}
else if(PlayerToPoint(2.0,playerid,1797.00830078,-1525.15258789,5699.42480469) || PlayerToPoint(2.0,playerid,1793.6631,-1523.9191,5700.4287))
{
MoveDynamicObject(edoor5,1797.00830078+1,-1525.15258789,5699.42480469,0.50);
MoveDynamicObject(edoor6,1794.00976562-1,-1525.18676758,5699.42480469,0.50);
return 1;
}
else if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287) || PlayerToPoint(2.0,playerid,1810.3752,-1548.3003,5700.4287))
{
MoveDynamicObject(pdoor1,1808.76147461-1,-1547.63208008,5699.42480469,0.50);
MoveDynamicObject(pdoor2,1811.76184082+1,-1547.60510254,5699.42480469,0.50);
return 1;
}
else SendClientMessage(playerid, 0xAA3333AA, "[Error]: {FFFFFF} You are not around a control pad!");
return 1;
}

Door Close Command:
Quote:

CMD:doorclose(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 5 && !PlayerInfo[playerid][pFacMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
if(!IsACop(playerid) && !IsAGov(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSFD Oficer.");
if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287))
{

MoveDynamicObject(pdoor3,1811.73828125,-1545.82873535,5699.42480469,0.50);
MoveDynamicObject(pdoor4,1808.73071289,-1545.87463379,5699.42480469,0.50);
return 1;
}
else if(PlayerToPoint(2.0,playerid,1797.00830078,-1525.15258789,5699.42480469) || PlayerToPoint(2.0,playerid,1793.6631,-1523.9191,5700.4287))
{
MoveDynamicObject(edoor5,1797.00830078,-1525.15258789,5699.42480469,0.50);
MoveDynamicObject(edoor6,1794.00976562,-1525.18676758,5699.42480469,0.50);
return 1;
}
else if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287) || PlayerToPoint(2.0,playerid,1810.3752,-1548.3003,5700.4287))
{
MoveDynamicObject(pdoor1,1808.76147461,-1547.63208008,5699.42480469,0.50);
MoveDynamicObject(pdoor2,1811.76184082,-1547.60510254,5699.42480469,0.50);
return 1;
}
else SendClientMessage(playerid, 0xAA3333AA, "[Error]: {FFFFFF} You are not around a control pad!");
return 1;
}

If anyone gives us a Solution that works for us, we will be happy to pay you for your time: Prices of payment will not be given. we will give what we can afford

Reply
#2

May Of Fixed It - Ill leave this up for a few days, If it bugs out again post your comments below
Reply
#3

I used to have similar problem as this one. The way I fixed it was that I used normal CreateObject for moving objects and not the streamer.
Reply
#4

Quote:
Originally Posted by Makaveli93
Посмотреть сообщение
I used to have similar problem as this one. The way I fixed it was that I used normal CreateObject for moving objects and not the streamer.
Yea i think i might do that
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)