Problem: Incognito's streamer -> MoveDynamicObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem: Incognito's streamer -> MoveDynamicObject (
/showthread.php?tid=250199)
Problem: Incognito's streamer -> MoveDynamicObject -
nemesis_567 - 22.04.2011
Well, I've just came up with another awesomely strange bug, here is what happened:
I have this code:
pawn Код:
gVar = CreateDynamicObject(1495,-1656.94433594,717.27343750,5904.78222656,0.00000000,0.00000000,89.97253418);
Then this which is a part of a command:
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");
}
The problem is that the object is not moved. But, it comes strange when the last message:
pawn Код:
SendClientMessage(playerid, WHITE, "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.
Re: Problem: Incognito's streamer -> MoveDynamicObject -
Kwarde - 22.04.2011
1) Did you use gVar only once? Or multilple times (when creating an object).?
2) Try after doing things that makes it move, just walk a bit. The streamer only works for me when I'm moving :P (only once. If I'm opening a gate, and I do nothing, nothing happens. If I walk once, it starts moving).
Re: Problem: Incognito's streamer -> MoveDynamicObject -
nemesis_567 - 22.04.2011
The code has no problem. I guess it's a streamer problem, and no moving affects nothing.
Re: Problem: Incognito's streamer -> MoveDynamicObject -
nemesis_567 - 25.04.2011
So, no one faced this problem?