Need little help again
#1

Hi, somebody can fix this?

Код:
if(strcmp(cmdtext, "/moveobject", true) == 0)
    {
        if(GetPlayerSkin(playerid) == 10)
        {
            MoveObject(obj, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj1, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj2, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj3, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj4, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj5, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj6,My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj7, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj8, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj9, My Cords..., My Cords..., My Cords..., 2.00);
            SendClientMessage(playerid, 0xFF000000, "Object moving");
		}
		else
		}
		SendClientMessage(playerid, 0xFF000000, "You can't use this...");

        return 1;
    }
Reply
#2

pawn Код:
}
        else
        }
        SendClientMessage(playerid, 0xFF000000, "You can't use this...");
         } // Put this?
        return 1;
}
Reply
#3

pawn Код:
if(strcmp(cmdtext, "/moveobject", true) == 0)
    {
        if(GetPlayerSkin(playerid) == 10)
        {
            MoveObject(obj, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj1, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj2, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj3, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj4, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj5, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj6,My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj7, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj8, My Cords..., My Cords..., My Cords..., 2.00);
            MoveObject(obj9, My Cords..., My Cords..., My Cords..., 2.00);
            SendClientMessage(playerid, 0xFF000000, "Object moving");
        }
        else return SendClientMessage(playerid, 0xFF000000, "You can't use this...");
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)