30.03.2013, 23:31
Hi, I would like to know how to rotate a gate.
From this position.
To this one:
I tried this:
From this position.
pawn Код:
rottest = CreateObject(3049, -340.80, 1534.96, 76.29, 0.00, 0.00, 0.00);//
To this one:
pawn Код:
rottest = CreateObject(3049, -340.80, 1534.96, 76.29, 0.00, 0.00, 90.00);//
pawn Код:
COMMAND:rotarear(playerid, params[])
{
if (IsPlayerLAdmin(playerid) >= 1)
{
MoveObject(rottest, 0, 0, 3+0.0001, 0.0001, 0.0, 0.0, 180.0);
SendClientMessage(playerid,-1,"rotation sucessfull");
}
else SendClientMessage(playerid, -1, "SERVER: Unknown Command.");
return 1;
}