I think it's streamer bug
#1

I think it's streamer bug. When I open and close the gate, it changes her rotation.
I use the latest version of the streamer
sorry for my bad english.

Код:
new gate1;
// ongamemodeinit
gate1 = CreateDynamicObject(13187, -547.7978, -183.3261, 78.6962, 0.0000, 0.0000, 90.0000);
//onplayercommandtext
if(strcmp(cmdtext,"/gate1open",true)==0)
{
 MoveDynamicObject(gate1, -547.7980, -183.3271, 76.0062, 5.00);
 SendClientMessage(playerid, 0xffff00ff, "Gate is opened!");
 return 1;
}
if(strcmp(cmdtext,"/gate1closed",true)==0)
{
 MoveDynamicObject(gate, -547.7978, -183.3261, 78.6962, 5.00);
 SendClientMessage(playerid, 0xffff00ff, "Gate is closed!");
 return 1;
}
Reply
#2

Pass -1000.0 as three last parameters, like:
pawn Код:
MoveDynamicObject(gate1, -547.7980, -183.3271, 76.0062, 5.00, -1000.0, -1000.0, -1000.0);
// and
MoveDynamicObject(gate, -547.7978, -183.3261, 78.6962, 5.00, -1000.0, -1000.0, -1000.0);
Let me know if it helps.

Oh wait, which plugin version are you using?
Reply
#3

latest version
Reply
#4

I have same streamer with latest version and my moving objects also change their rotation.
Reply
#5

Quote:
Originally Posted by AndreT
Посмотреть сообщение
Pass -1000.0 as three last parameters, like:
pawn Код:
MoveDynamicObject(gate1, -547.7980, -183.3271, 76.0062, 5.00, -1000.0, -1000.0, -1000.0);
// and
MoveDynamicObject(gate, -547.7978, -183.3261, 78.6962, 5.00, -1000.0, -1000.0, -1000.0);
Let me know if it helps.

Oh wait, which plugin version are you using?
5 Warnings
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)