Move-Object Problem, - FUCKING Disappears (+ReP)
#6

Quote:
Originally Posted by RollTi
Посмотреть сообщение
Actually i don't see the difference here

pawn Код:
if(cellopen1==0)
{
    SendClientMessage(playerid, COLOR_GREY,"You have OPENED the inner Cell door");
    MoveObject(celldoor1, 14856,312.50000000,320.79998779,1000.00000000+5, 1.0);
    cellopen1 = 1;
}
else
{
    SendClientMessage(playerid, COLOR_GREY,"You have CLOSED the inner Cell door");
    MoveObject(celldoor1, 14856,312.50000000,320.79998779,1000.00000000, 2.0);
    cellopen1 = 0;
}
i mean

pawn Код:
MoveObject(celldoor1, 14856,312.50000000,320.79998779,1000.00000000, 2.0); //You have this code inside when player open the door and when player close the door
so the problem is in that line you are not moving the object instead you keeping the object position in the same position

EDIT:

hmmm i saw the difference you have +5 in open door and theres no +5 in closed

Maybe the problem is in this line

pawn Код:
MoveObject(celldoor1, 14856,312.50000000,320.79998779,1000.00000000+5, 1.0);
because you said that when you open the door the object was deleted
No Shit, it ain't D:
... =/ Let me see what i can do
Reply


Messages In This Thread
Move-Object Problem, - FUCKING Disappears (+ReP) - by Aira - 24.04.2012, 03:02
Re: Move-Object Problem, - FUCKING Disappears (+ReP) - by iRage - 24.04.2012, 03:04
Re: Move-Object Problem, - FUCKING Disappears (+ReP) - by Aira - 24.04.2012, 03:20
Re: Move-Object Problem, - FUCKING Disappears (+ReP) - by Aira - 24.04.2012, 04:17
Re: Move-Object Problem, - FUCKING Disappears (+ReP) - by RollTi - 24.04.2012, 04:20
Re: Move-Object Problem, - FUCKING Disappears (+ReP) - by Aira - 24.04.2012, 04:32

Forum Jump:


Users browsing this thread: 3 Guest(s)