22.04.2011, 13:04
(
Последний раз редактировалось nemesis_567; 22.04.2011 в 13:38.
)
Well, I've just came up with another awesomely strange bug, here is what happened:
I have this code:
Then this which is a part of a command:
The problem is that the object is not moved. But, it comes strange when the last message:
is sent to the player with no problems, tough there isn't detected any motion in the object.
It comes even more strange when after some time a new object appears in the place of the other(The other is still there). The object that appears is some random object that I've added to the gamemode.
I have this code:
pawn Код:
gVar = CreateDynamicObject(1495,-1656.94433594,717.27343750,5904.78222656,0.00000000,0.00000000,89.97253418);
pawn Код:
if(PlayerToPoint(5, playerid, -1656.9443359375, 717.2734375, 5904.7822265625))
{
SetTimerEx("GateTimer", 5000, false, "iffff",gVar,-1656.9443359375, 717.2734375, 5904.7822265625, 5.0);
MoveDynamicObject(gVar,-1656.9443359375, 717.2734375, 5894.7822265625, 3);
SendClientMessage(playerid, WHITE, "Message");
}
pawn Код:
SendClientMessage(playerid, WHITE, "Message");
It comes even more strange when after some time a new object appears in the place of the other(The other is still there). The object that appears is some random object that I've added to the gamemode.