What happens is when I type the command to move the objects instead of going up, it goes to the south.
pawn Код:
if(!strcmp(cmdtext, "/liftoneup"))
{
new pWorkingSkins = GetPlayerSkin(playerid);
if(!IsWorkingskin2(playerid,pWorkingSkins)) return SendClientMessage(playerid,Error_Message_Color,"You are not have permission to use this command");
{
if (lift1up != 1)
{
MoveObject(lift1b1, 0, 0, 21, 2.00);
MoveObject(lift1b2, 0, 0, 21, 2.00);
MoveObject(lift1b3, 0, 0, 18.760000228882, 2.00);
MoveObject(lift1b4, 0, 0, 18.364999771118, 2.00);
MoveObject(lift1b5, 0, 0, 18.770000457764, 2.00);
MoveObject(lift1b6, 0, 0, 18.360000610352, 2.00);
lift1up = 1;
SendClientMessage(playerid, Message_Color, "Raising lift one");
SendClientMessage(playerid, Message_Color, "Use /liftdown to lower the lift.");
}
else return SendClientMessage(playerid, Error_Message_Color, "Lift one is allready reased");
}
return 1;
}
You have to insert the x and y position also. Now lift1b1 is going to the coordinates: 0, 0, 21.