29.08.2015, 23:29
(
Последний раз редактировалось Logofero; 29.08.2015 в 23:34.
Причина: Add Note
)
This is confirmed by your position, even doors. Why are they the same?
// CODE
if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398))
{
MoveObject(door0,1487.00000000,-1762.42504883+1.25,3284.23608398,0.50);
}
else if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398))
{
MoveObject(door0,1487.00000000,-1762.42504883,3284.23608398,0.50);
}
// EOF
NOTE: You need to change the position of the coordinates to IsPlayerInRangeOfPoint() does not always work on #1 door.
// CODE
if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398))
{
MoveObject(door0,1487.00000000,-1762.42504883+1.25,3284.23608398,0.50);
}
else if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398))
{
MoveObject(door0,1487.00000000,-1762.42504883,3284.23608398,0.50);
}
// EOF
NOTE: You need to change the position of the coordinates to IsPlayerInRangeOfPoint() does not always work on #1 door.